diff options
Diffstat (limited to 'test/test_performance.cpp')
| -rw-r--r-- | test/test_performance.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_performance.cpp b/test/test_performance.cpp index fa93a8f..a5be5e8 100644 --- a/test/test_performance.cpp +++ b/test/test_performance.cpp @@ -293,10 +293,10 @@ TEST(test_performance, export_many_cells) } } - struct fieldstat_json_exporter *fieldstat_json_exporter = fieldstat_json_exporter_new(instance); + struct fieldstat_json_exporter *fieldstat_json_exporter = fieldstat_json_exporter_new(); // getchar(); clock_t start = clock(); - char *json_string = fieldstat_json_exporter_export(fieldstat_json_exporter, &TEST_TIMEVAL); + char *json_string = fieldstat_json_exporter_export(fieldstat_json_exporter, instance, &TEST_TIMEVAL); clock_t end = clock(); // exit(0); free(json_string); |
