private void accountForTimeSpentWorking(long nanosSpentWorking, long nanosSpentSleeping) {
    samplerStats.tookSample(nanosSpentWorking, getStatisticsManager().getStatisticsCount(),
        nanosSpentSleeping);
  }
Called when this sampler has spent some time working and wants it to be accounted for.
geode-core/src/main/java/org/apache/geode/internal/statistics/HostStatSampler.java