Home
last modified time | relevance | path

Searched refs:previous_load (Results 1 – 1 of 1) sorted by relevance

/third_party/ninja/src/
Dutil.cc504 static double previous_load = -0.0; in CalculateProcessorLoad() local
514 load = previous_load; in CalculateProcessorLoad()
522 if(previous_load > 0) { in CalculateProcessorLoad()
523 load = 0.9 * previous_load + 0.1 * load_since_last_call; in CalculateProcessorLoad()
529 previous_load = load; in CalculateProcessorLoad()