summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/iBackend.hpp
blob: 5037028b034c393b14821616a479e0df4553cddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <atomic>
#include <cstdint>


namespace xmrstak
{

	struct IBackend
	{
		std::atomic<uint64_t> iHashCount;
		std::atomic<uint64_t> iTimestamp;

		IBackend() : iHashCount(0), iTimestamp(0)
		{
		}
	};

} // namepsace xmrstak
OpenPOWER on IntegriCloud