Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stopwatch.h - github.com/marian-nmt/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d8a9ba57a64847a289737b8b3b189e8cd762ed69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include <time.h>
#include <string>

class StopWatch {
  public:
    explicit StopWatch(const std::string &label);

    ~StopWatch();

  private:
    struct timespec started_;
    std::string label_;
};