Skip to content

Commit

Permalink
Merge branch 'hotspot-2-formal' of github.com:Smityz/pegasus into hot…
Browse files Browse the repository at this point in the history
…spot-2-formal
  • Loading branch information
Smityz committed Sep 16, 2020
2 parents 2edca5d + 7b8a789 commit 556c16c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/hotspot_partition_calculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ class hotspot_partition_calculator
void data_analyse();

private:
// 3σ rule to calculate hot point of each partition
// empirical rule to calculate hot point of each partition
// ref: https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rule
void stat_histories_analyse(int data_type, std::vector<int> &hot_points);
// set hot_point to corresponding perf_counter
void update_hot_point(int data_type, std::vector<int> &hot_points);
Expand Down

0 comments on commit 556c16c

Please sign in to comment.