MCPcopy Create free account
hub / github.com/defold/defold / PrintPerformanceResult

Function PrintPerformanceResult

engine/dlib/src/test/test_hashtable.cpp:454–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454static void PrintPerformanceResult(const char* name, uint32_t count, jc_test_time_t usec, uint64_t checksum)
455{
456 double ns_per_op = usec == 0 ? 0.0 : ((double) usec * 1000.0) / (double) count;
457 jc_test_get_logger()->Logf("dmHashTable.%s: %u ops, %lu us, %.2f ns/op, checksum=%llu\n", name, count, (unsigned long) usec, ns_per_op, (unsigned long long) checksum);
458}
459
460TEST(dmHashTable, Performance)
461{

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected