minor issues (don't use \n in B3_PROFILE, and don't report timing inaccuracy in console
This commit is contained in:
@@ -1109,7 +1109,7 @@ void b3GpuSapBroadphase::calculateOverlappingPairs(int maxPairs)
|
||||
|
||||
if (m_gpuSmallSortData.size())
|
||||
{
|
||||
B3_PROFILE("gpu radix sort\n");
|
||||
B3_PROFILE("gpu radix sort");
|
||||
m_sorter->execute(m_gpuSmallSortData);
|
||||
clFinish(m_queue);
|
||||
}
|
||||
|
||||
@@ -535,7 +535,7 @@ void CProfileManager::dumpRecursive(CProfileIterator* profileIterator, int spaci
|
||||
|
||||
if (parent_time < accumulated_time)
|
||||
{
|
||||
printf("what's wrong\n");
|
||||
//printf("what's wrong\n");
|
||||
}
|
||||
for (i=0;i<spacing;i++) printf(".");
|
||||
printf("%s (%.3f %%) :: %.3f ms\n", "Unaccounted:",parent_time > SIMD_EPSILON ? ((parent_time - accumulated_time) / parent_time) * 100 : 0.f, parent_time - accumulated_time);
|
||||
|
||||
Reference in New Issue
Block a user