Commit 59408ad2 authored by Jim Harris's avatar Jim Harris Committed by Ben Walker
Browse files

test/event: rename event to event_perf



While here, make it clear this is a benchmark that
tests internal APIs.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: Ie5a57fdcee12b47568542721095c49d28ece5529
parent 8f0aed2d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -206,9 +206,6 @@ struct spdk_event *spdk_event_allocate(uint32_t lcore, spdk_event_fn fn,
 */
void spdk_event_call(struct spdk_event *event);

/* TODO: This is only used by tests and should be made private */
uint32_t spdk_event_queue_run_batch(uint32_t lcore);

/**
 * \brief Register a poller on the given lcore.
 */
+2 −0
Original line number Diff line number Diff line
@@ -51,6 +51,8 @@ int spdk_reactors_fini(void);
void spdk_reactors_start(void);
void spdk_reactors_stop(void);

uint32_t spdk_event_queue_run_batch(uint32_t lcore);

struct spdk_subsystem {
	const char *name;
	int (*init)(void);
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

DIRS-y = event reactor subsystem
DIRS-y = event_perf reactor subsystem

.PHONY: all clean $(DIRS-y)

+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh

timing_enter event
$testdir/event/event -m 0xF -t 5
$testdir/event_perf/event_perf -m 0xF -t 5
$testdir/reactor/reactor -t 1
$testdir/subsystem/subsystem_ut
timing_exit event

test/lib/event/event/.gitignore

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
event
Loading