Apply clang-format to earlier mako changes
This commit is contained in:
parent
00ce4f6248
commit
1c8edc92f9
|
@ -696,9 +696,9 @@ int runOneTask(Transaction tx, Arguments const& args, ThreadStatistics& stats, L
|
|||
watch_commit.stop();
|
||||
watch_tx.setStop(watch_commit.getStop());
|
||||
auto tx_resetter = ExitGuard([&watch_tx, &tx]() {
|
||||
tx.reset();
|
||||
watch_tx.startFromStop();
|
||||
});
|
||||
tx.reset();
|
||||
watch_tx.startFromStop();
|
||||
});
|
||||
if (rc == FutureRC::OK) {
|
||||
if (do_sample) {
|
||||
const auto commit_latency = watch_commit.diff();
|
||||
|
|
|
@ -56,13 +56,12 @@ int computeThreadPortion(int val, int p_idx, int t_idx, int total_p, int total_t
|
|||
/* similar to insertBegin/end, computeThreadTps computes
|
||||
* the per-thread target TPS for given configuration.
|
||||
*/
|
||||
#define computeThreadTps(val, p_idx, t_idx, total_p, total_t) \
|
||||
computeThreadPortion(val, p_idx, t_idx, total_p, total_t)
|
||||
#define computeThreadTps(val, p_idx, t_idx, total_p, total_t) computeThreadPortion(val, p_idx, t_idx, total_p, total_t)
|
||||
|
||||
/* similar to computeThreadTps,
|
||||
* computeThreadIters computs the number of iterations.
|
||||
*/
|
||||
#define computeThreadIters(val, p_idx, t_idx, total_p, total_t) \
|
||||
#define computeThreadIters(val, p_idx, t_idx, total_p, total_t) \
|
||||
computeThreadPortion(val, p_idx, t_idx, total_p, total_t)
|
||||
|
||||
/* get the number of digits */
|
||||
|
|
Loading…
Reference in New Issue