From f1dd8cec18bce3b7c2a0e18b77ef7a6b922031f0 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 3 May 2013 15:14:00 -0700 Subject: [PATCH] - comment tweaks --- lib/prefs.h | 1 + samples/wrapper/wrapper.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/prefs.h b/lib/prefs.h index 6f242af1b9..912fced161 100644 --- a/lib/prefs.h +++ b/lib/prefs.h @@ -142,6 +142,7 @@ struct GLOBAL_PREFS { // scheduling happens more often. TIME_PREFS cpu_times; double cpu_usage_limit; + // for CPU throttling. This is a percentage 0..100 double daily_xfer_limit_mb; int daily_xfer_period_days; double disk_interval; diff --git a/samples/wrapper/wrapper.cpp b/samples/wrapper/wrapper.cpp index 4ba3af4904..36b4b2bd2b 100644 --- a/samples/wrapper/wrapper.cpp +++ b/samples/wrapper/wrapper.cpp @@ -109,7 +109,7 @@ struct TASK { // dynamic stuff follows double current_cpu_time; - // most recently measure CPU time of this task + // most recently measured CPU time of this task double final_cpu_time; // final CPU time of this task double starting_cpu;