SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
checkpoint_control.h
Go to the documentation of this file.
1// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2016 Intel Corporation
5
6 This software and the related documents are Intel copyrighted materials, and
7 your use of them is governed by the express license under which they were
8 provided to you ("License"). Unless the License provides otherwise, you may
9 not use, modify, copy, publish, distribute, disclose or transmit this software
10 or the related documents without Intel's prior written permission.
11
12 This software and the related documents are provided as is, with no express or
13 implied warranties, other than those that are expressly stated in the License.
14*/
15
16#ifndef SIMICS_SYSTEMC_CHECKPOINT_CONTROL_H
17#define SIMICS_SYSTEMC_CHECKPOINT_CONTROL_H
18
19#include <systemc-checkpoint/checkpoint_control.h>
20#include <systemc-checkpoint/kernel.h>
21#include <systemc-checkpoint/time_information_interface.h>
22
23namespace simics {
24namespace systemc {
25
27 : public sc_checkpoint::CheckpointControl,
28 public sc_checkpoint::ExternalTimeInformationInterface {
29 public:
30 CheckpointControl() : sc_checkpoint::CheckpointControl() {}
31
32 virtual void set_time_information(int64_t high, uint64_t low) {
33 kernel_.set_time_information(high, low);
34 }
35 virtual void time_information(int64_t *high, uint64_t *low) {
36 kernel_.time_information(high, low);
37 }
38};
39
40} // namespace systemc
41} // namespace simics
42
43#endif // SIMICS_SYSTEMC_CHECKPOINT_CONTROL_H
Definition: checkpoint_control.h:28
virtual void set_time_information(int64_t high, uint64_t low)
Definition: checkpoint_control.h:32
CheckpointControl()
Definition: checkpoint_control.h:30
virtual void time_information(int64_t *high, uint64_t *low)
Definition: checkpoint_control.h:35
Definition: pci_bus_interface.h:24