diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-15 20:17:44 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-29 23:40:56 +0000 |
| commit | 972a411ccc1c15ffe52862477653ab877d0afcd6 (patch) | |
| tree | 220e742bd6e28032752762e1be70a2aed90840ef /tests/lib/test_timer_performance.c | |
| parent | 62f44022399236ec619a6ebedd3bd6e11765fafd (diff) | |
lib: more `show thread cpu`
Add support for naming pthreads. Also, note that we don't have any
records yet if that's the case.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'tests/lib/test_timer_performance.c')
| -rw-r--r-- | tests/lib/test_timer_performance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/test_timer_performance.c b/tests/lib/test_timer_performance.c index b67af19aea..2bd02b5b01 100644 --- a/tests/lib/test_timer_performance.c +++ b/tests/lib/test_timer_performance.c @@ -49,7 +49,7 @@ int main(int argc, char **argv) struct timeval tv_start, tv_lap, tv_stop; unsigned long t_schedule, t_remove; - master = thread_master_create(); + master = thread_master_create(NULL); prng = prng_new(0); timers = calloc(SCHEDULE_TIMERS, sizeof(*timers)); |
