Add TimerCreators

This commit is contained in:
King_DuckZ 2020-08-11 02:10:43 +01:00
parent ebc16986e8
commit cb500fd67c
7 changed files with 41 additions and 2 deletions

View file

@ -47,6 +47,7 @@ void test(oro::Api* api, oro::OriginsDB* db, std::size_t thread_count) {
typedef TimerOroApi<&oro::Api::market_list> TimerShops;
typedef TimerOroApi<&oro::Api::items_list> TimerItems;
typedef TimerOroApi<&oro::Api::items_icons> TimerIcons;
typedef TimerOroApi<&oro::Api::fame_list> TimerCreators;
std::cout << "Running with " << thread_count << " worker threads\n";
roar11::ThreadPool pool(thread_count);