mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +08:00
Rename trace event field to avoid duplicating 'Time' field.
This commit is contained in:
parent
0e317f6e8f
commit
8e1927a5cb
@ -126,7 +126,7 @@ TEST_CASE("/flow/TraceEvent") {
|
||||
wait(delay(0));
|
||||
}
|
||||
TraceEvent("TraceDuration")
|
||||
.detail("Time", g_network->now() - startTime);
|
||||
.detail("Duration", g_network->now() - startTime);
|
||||
startTime = g_network->now();
|
||||
for (i = 0; i < 1000000; ++i) {
|
||||
for (unsigned j = 0; j < 100; ++j) {
|
||||
@ -142,7 +142,7 @@ TEST_CASE("/flow/TraceEvent") {
|
||||
wait(delay(0));
|
||||
}
|
||||
TraceEvent("TraceDuration")
|
||||
.detail("Time", g_network->now() - startTime);
|
||||
.detail("Duration", g_network->now() - startTime);
|
||||
printf("benchmark done\n");
|
||||
wait(delay(10));
|
||||
return Void();
|
||||
|
Loading…
x
Reference in New Issue
Block a user