astra-sim-alibabacloud/astra-sim/system/Usage.hh (25 lines of code) (raw):
/******************************************************************************
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*******************************************************************************/
#ifndef __USAGE_HH__
#define __USAGE_HH__
#include <assert.h>
#include <math.h>
#include <algorithm>
#include <chrono>
#include <cstdint>
#include <ctime>
#include <fstream>
#include <list>
#include <map>
#include <sstream>
#include <tuple>
#include <vector>
#include "Common.hh"
namespace AstraSim {
class Usage {
public:
int level;
uint64_t start;
uint64_t end;
Usage(int level, uint64_t start, uint64_t end);
};
} // namespace AstraSim
#endif