forked from cory/tildefriends
libuv 1.45.0, #include cleanup, probably something else.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4308 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
5
deps/libuv/test/benchmark-async.c
vendored
5
deps/libuv/test/benchmark-async.c
vendored
@ -73,6 +73,7 @@ static void worker(void* arg) {
|
||||
|
||||
|
||||
static int test_async(int nthreads) {
|
||||
char fmtbuf[32];
|
||||
struct ctx* threads;
|
||||
struct ctx* ctx;
|
||||
uint64_t time;
|
||||
@ -112,11 +113,11 @@ static int test_async(int nthreads) {
|
||||
printf("async%d: %.2f sec (%s/sec)\n",
|
||||
nthreads,
|
||||
time / 1e9,
|
||||
fmt(NUM_PINGS / (time / 1e9)));
|
||||
fmt(&fmtbuf, NUM_PINGS / (time / 1e9)));
|
||||
|
||||
free(threads);
|
||||
|
||||
MAKE_VALGRIND_HAPPY();
|
||||
MAKE_VALGRIND_HAPPY(uv_default_loop());
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user