1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Import frame messages (#459)

Co-authored-by: Joshua Kriegshauser <joshuakr@nvidia.com>
Co-authored-by: Bartosz Taudul <wolf@nereid.pl>
This commit is contained in:
jkriegshauser
2022-09-02 10:44:37 -07:00
committed by GitHub
parent 8b75a3fab0
commit 59ae71df2b
3 changed files with 62 additions and 23 deletions
+7
View File
@@ -30,6 +30,13 @@ using json = nlohmann::json;
void Usage()
{
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 );
}