1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Merge pull request #939 from eibach/feature_hexvalue

Display zone values also in hex
This commit is contained in:
Bartosz Taudul 2024-12-10 11:41:22 +01:00 committed by GitHub
commit f703cc33cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5309,7 +5309,7 @@ void Worker::ProcessZoneColor( const QueueZoneColor& ev )
void Worker::ProcessZoneValue( const QueueZoneValue& ev ) void Worker::ProcessZoneValue( const QueueZoneValue& ev )
{ {
char tmp[32]; char tmp[32];
const auto tsz = sprintf( tmp, "%" PRIu64, ev.value ); const auto tsz = sprintf( tmp, "%" PRIu64 " [0x%" PRIx64 "]", ev.value, ev.value );
auto td = RetrieveThread( m_threadCtx ); auto td = RetrieveThread( m_threadCtx );
if( !td ) if( !td )