summaryrefslogtreecommitdiff
path: root/lib/gras_impl/stats.hpp
blob: 138b231e6eeecf73ea6e605f83a875dd5e69f133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information.

#ifndef INCLUDED_LIBGRAS_IMPL_STATS_HPP
#define INCLUDED_LIBGRAS_IMPL_STATS_HPP

#include <gras/chrono.hpp>

namespace gras
{

struct BlockStats
{
    time_ticks_t start_time;
    time_ticks_t stop_time;

    size_t work_count;
    time_ticks_t time_last_work;
    time_ticks_t total_time_work;
    time_ticks_t total_time_work_other;
};

} //namespace gras

#endif /*INCLUDED_LIBGRAS_IMPL_STATS_HPP*/