mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
usage improvements
This commit is contained in:
parent
cc79c08032
commit
e1b9ded2c6
@ -30,6 +30,13 @@ using json = nlohmann::json;
|
|||||||
void Usage()
|
void Usage()
|
||||||
{
|
{
|
||||||
printf( "Usage: import-chrome input.json output.tracy\n\n" );
|
printf( "Usage: import-chrome input.json output.tracy\n\n" );
|
||||||
|
printf( "The following chrome-tracing phases are supported:\n\n" );
|
||||||
|
printf( " b/B/e/E - Timeline events such as ZoneNamed\n" );
|
||||||
|
printf( " X - Timeline events such as ZoneNamed\n" );
|
||||||
|
printf( " i/I - Message events such as TracyMessage\n" );
|
||||||
|
printf( " * Messages containing the word \"frame\" are interpreted as frame events such as FrameMarkNamed\n" );
|
||||||
|
printf( " C - Plot events such as TracyPlot\n" );
|
||||||
|
printf( " M - Metadata of type \"thread_name\" is used to name threads\n" );
|
||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user