mirror of
https://github.com/wolfpld/tracy.git
synced 2026-07-11 16:48:52 +00:00
Add another percent print helper.
This commit is contained in:
@@ -6640,6 +6640,13 @@ static tracy_force_inline void PrintStringPercent( char* buf, const char* string
|
||||
memcpy( end, "%)", 3 );
|
||||
}
|
||||
|
||||
static tracy_force_inline void PrintStringPercent( char* buf, double percent )
|
||||
{
|
||||
memcpy( buf, "(", 2 );
|
||||
auto end = PrintFloat( buf+1, buf+64, percent, 2 );
|
||||
memcpy( end, "%)", 3 );
|
||||
}
|
||||
|
||||
template<typename Adapter, typename V>
|
||||
void View::DrawZoneInfoChildren( const V& children, int64_t ztime )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user