Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
Signed-off-by: silverbullet233 <[email protected]>
  • Loading branch information
silverbullet233 committed May 29, 2024
1 parent e74dc5d commit 8f9e5f9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions be/src/runtime/runtime_filter_worker.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,9 @@ inline std::string EventTypeToString(EventType type) {
struct RuntimeFilterWorkerEvent;

struct RuntimeFilterWorkerMetrics {
void update_event_nums(EventType event_type, int64_t delta) {
event_nums[event_type] += delta;
}
void update_event_nums(EventType event_type, int64_t delta) { event_nums[event_type] += delta; }

void update_rf_bytes(EventType event_type, int64_t delta) {
runtime_filter_bytes[event_type] += delta;
}
void update_rf_bytes(EventType event_type, int64_t delta) { runtime_filter_bytes[event_type] += delta; }

std::array<std::atomic_int64_t, EventType::MAX_COUNT> event_nums{};
std::array<std::atomic_int64_t, EventType::MAX_COUNT> runtime_filter_bytes{};
Expand Down

0 comments on commit 8f9e5f9

Please sign in to comment.