mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
fix: benchmark in linux
This commit is contained in:
parent
8b12e1fefb
commit
746ee51584
@ -1,3 +1,5 @@
|
||||
#include <libimp/detect_plat.h>
|
||||
#if defined(LIBIMP_OS_LINUX)
|
||||
|
||||
#include <sys/eventfd.h>
|
||||
#include <sys/syscall.h>
|
||||
@ -20,7 +22,7 @@
|
||||
|
||||
#include "test_util.h"
|
||||
|
||||
#include "libipc/shm.h"
|
||||
#include <libipc/shm.h>
|
||||
|
||||
namespace {
|
||||
|
||||
@ -401,3 +403,4 @@ BENCHMARK(ipc_npipe_rtt);
|
||||
BENCHMARK(ipc_sock_rtt);
|
||||
BENCHMARK(ipc_udp_rtt);
|
||||
BENCHMARK(ipc_inotify_rtt);
|
||||
#endif
|
||||
Loading…
x
Reference in New Issue
Block a user