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

Use 'μ' instead of 'u' to indicate micro.

This commit is contained in:
Bartosz Taudul
2018-07-28 01:05:49 +02:00
parent b7ec7f6819
commit a54ff1f56d
2 changed files with 10 additions and 2 deletions
+8
View File
@@ -51,7 +51,11 @@ static const char* TimeToString( int64_t ns )
}
else if( ns < 1000ll * 1000 )
{
#ifdef TRACY_EXTENDED_FONT
sprintf( buf, "%s%.2f \xce\xbcs", sign, ns / 1000. );
#else
sprintf( buf, "%s%.2f us", sign, ns / 1000. );
#endif
}
else if( ns < 1000ll * 1000 * 1000 )
{
@@ -98,7 +102,11 @@ static const char* TimeToStringInteger( int64_t ns )
}
else if( ns < 1000ll * 1000 )
{
#ifdef TRACY_EXTENDED_FONT
sprintf( buf, "%s%.0f \xce\xbcs", sign, ns / 1000. );
#else
sprintf( buf, "%s%.0f us", sign, ns / 1000. );
#endif
}
else if( ns < 1000ll * 1000 * 1000 )
{