From d2a1ebb2f2f8015e74ce3ed2454ea7871c4a3610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20Gajd=C3=A1cs?= <33376024+ZsoltGajdacs@users.noreply.github.com> Date: Sun, 11 Oct 2020 20:14:45 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 56fe034..ff40030 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,7 @@ There is a probe project included, this line is taken from there: ``` IWatcher watcher = new Watcher("testApp", Resolution.HalfMinute, SavePreference.KeepDataForToday, DataPrecision.HighPrecision); ``` +Then you can just ask, also from the probe project: +~~~ +TimeSpan usage = watcher.UsageForGivenTimeframe(startTime, startTime + TimeSpan.FromDays(1)); +~~~