Ejemplo n.º 1
0
void ClientTable::BatchInc(int32_t row_id, const int32_t* column_ids,
  const void* updates, int32_t num_updates) {
  STATS_APP_SAMPLE_BATCH_INC_BEGIN(table_id_);
  consistency_controller_->BatchInc(row_id, column_ids, updates,
                                    num_updates);
  STATS_APP_SAMPLE_BATCH_INC_END(table_id_);
}
Ejemplo n.º 2
0
void ClientTable::DenseBatchInc(
    int32_t row_id, const void *updates, int32_t index_st,
    int32_t num_updates) {
  STATS_APP_SAMPLE_BATCH_INC_BEGIN(table_id_);
  consistency_controller_->DenseBatchInc(row_id, updates, index_st,
                                         num_updates);
  STATS_APP_SAMPLE_BATCH_INC_END(table_id_);
}