summaryrefslogtreecommitdiff
path: root/tests/lib/test_timer_performance.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-03-01 16:18:12 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-03-24 08:32:17 -0400
commite6685141aae8fc869d49cde1d459f73b87bbec89 (patch)
tree465539dece789430eaaf76bce18c754c5e18f452 /tests/lib/test_timer_performance.c
parentcb37cb336a2cca77bfbaf6b0cfab12e847e45623 (diff)
*: Rename `struct thread` to `struct event`
Effectively a massive search and replace of `struct thread` to `struct event`. Using the term `thread` gives people the thought that this event system is a pthread when it is not Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/lib/test_timer_performance.c')
-rw-r--r--tests/lib/test_timer_performance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/test_timer_performance.c b/tests/lib/test_timer_performance.c
index 5af0604d1b..d4cd653802 100644
--- a/tests/lib/test_timer_performance.c
+++ b/tests/lib/test_timer_performance.c
@@ -22,7 +22,7 @@
struct thread_master *master;
-static void dummy_func(struct thread *thread)
+static void dummy_func(struct event *thread)
{
}
@@ -30,7 +30,7 @@ int main(int argc, char **argv)
{
struct prng *prng;
int i;
- struct thread **timers;
+ struct event **timers;
struct timeval tv_start, tv_lap, tv_stop;
unsigned long t_schedule, t_remove;