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

Cut off trailing zeros when printing floating point values.

This commit is contained in:
Bartosz Taudul
2017-10-18 20:18:33 +02:00
parent 9c4316879c
commit cdde2ea2a3
2 changed files with 30 additions and 9 deletions
+1
View File
@@ -139,6 +139,7 @@ private:
int64_t GetZoneEnd( const Event& ev ) const;
Vector<Event*>& GetParentVector( const Event& ev );
const char* TimeToString( int64_t ns ) const;
const char* RealToString( double val ) const;
const char* GetString( uint64_t ptr ) const;
const char* GetThreadString( uint64_t id ) const;
const QueueSourceLocation& GetSourceLocation( uint64_t srcloc ) const;