contributed by < Eric-0522 >
Reviewed by Andrushika
在你的筆記中,提及你參考他人的筆記後,在 update_statistics 中加上了以下程式碼:
static void update_statistics(const int64_t *exec_times, uint8_t *classes)
{
- for (size_t i = 0; i < N_MEASURES; i++) {
+ for (size_t i = 10; i < N_MEASURES; i++) {
這看起來是無條件丟棄前十筆數值,和百分位數的過濾無關,有點好奇這樣做的目的是什麼呢?採取該實作的用意應該註明。