@@ -372,7 +372,7 @@ fn run_chunk(ctx: &ReducerContext, config: &TpccLoadConfig, job: &TpccLoadJob) -
372372}
373373
374374fn load_item_chunk ( ctx : & ReducerContext , config : & TpccLoadConfig , job : & TpccLoadJob ) -> Result < ChunkAdvance , String > {
375- let _timer = LogStopwatch :: new ( "load_items " ) ;
375+ let _timer = LogStopwatch :: new ( "load_item_chunk " ) ;
376376 if job. next_item_id == 0 || job. next_item_id > ITEMS {
377377 return Err ( format ! ( "invalid item cursor {}" , job. next_item_id) ) ;
378378 }
@@ -402,7 +402,7 @@ fn load_warehouse_district_chunk(
402402 config : & TpccLoadConfig ,
403403 job : & TpccLoadJob ,
404404) -> Result < ChunkAdvance , String > {
405- let _timer = LogStopwatch :: new ( "load_warehouses_districts " ) ;
405+ let _timer = LogStopwatch :: new ( "load_warehouses_district_chunk " ) ;
406406 let end_warehouse = warehouse_end ( config. database_number , config. warehouses_per_database ) ;
407407 if job. next_warehouse_id < warehouse_start ( config. database_number , config. warehouses_per_database )
408408 || job. next_warehouse_id > end_warehouse
@@ -439,7 +439,7 @@ fn load_warehouse_district_chunk(
439439}
440440
441441fn load_stock_chunk ( ctx : & ReducerContext , config : & TpccLoadConfig , job : & TpccLoadJob ) -> Result < ChunkAdvance , String > {
442- let _timer = LogStopwatch :: new ( "load_stocks " ) ;
442+ let _timer = LogStopwatch :: new ( "load_stock_chunk " ) ;
443443 let start_warehouse = warehouse_start ( config. database_number , config. warehouses_per_database ) ;
444444 let end_warehouse = warehouse_end ( config. database_number , config. warehouses_per_database ) ;
445445 if job. next_warehouse_id < start_warehouse || job. next_warehouse_id > end_warehouse {
@@ -480,7 +480,7 @@ fn load_customer_history_chunk(
480480 config : & TpccLoadConfig ,
481481 job : & TpccLoadJob ,
482482) -> Result < ChunkAdvance , String > {
483- let _timer = LogStopwatch :: new ( "load_customers_history " ) ;
483+ let _timer = LogStopwatch :: new ( "load_customer_history_chunk " ) ;
484484 let start_warehouse = warehouse_start ( config. database_number , config. warehouses_per_database ) ;
485485 let end_warehouse = warehouse_end ( config. database_number , config. warehouses_per_database ) ;
486486 if job. next_warehouse_id < start_warehouse || job. next_warehouse_id > end_warehouse {
@@ -530,7 +530,7 @@ fn load_customer_history_chunk(
530530}
531531
532532fn load_order_chunk ( ctx : & ReducerContext , config : & TpccLoadConfig , job : & TpccLoadJob ) -> Result < ChunkAdvance , String > {
533- let _timer = LogStopwatch :: new ( "load_orders " ) ;
533+ let _timer = LogStopwatch :: new ( "load_order_chunk " ) ;
534534 let start_warehouse = warehouse_start ( config. database_number , config. warehouses_per_database ) ;
535535 let end_warehouse = warehouse_end ( config. database_number , config. warehouses_per_database ) ;
536536 if job. next_warehouse_id < start_warehouse || job. next_warehouse_id > end_warehouse {
0 commit comments