mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Cosmetics.
This commit is contained in:
parent
493d433330
commit
cf8620b956
@ -2692,8 +2692,9 @@ void Profiler::ReportTopology()
|
||||
sprintf( path, "%s%i/topology/physical_package_id", basePath, i );
|
||||
char buf[1024];
|
||||
FILE* f = fopen( path, "rb" );
|
||||
if( f == nullptr ) {
|
||||
tracy_free(cpuData);
|
||||
if( !f )
|
||||
{
|
||||
tracy_free( cpuData );
|
||||
return;
|
||||
}
|
||||
auto read = fread( buf, 1, 1024, f );
|
||||
|
@ -179,7 +179,7 @@ int main( int argc, char** argv )
|
||||
for( auto& v : messages ) v.timestamp -= mts;
|
||||
for( auto& plot : plots )
|
||||
{
|
||||
for( auto& v : plot.data ) v.first -= mts;
|
||||
for( auto& v : plot.data ) v.first -= mts;
|
||||
}
|
||||
|
||||
printf( "\33[2KProcessing...\r" );
|
||||
|
Loading…
Reference in New Issue
Block a user