WRENCH
1.10
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
src
wrench
helper_services
work_unit_executor
ComputeThread.h
1
11
#ifndef WRENCH_COMPUTETHREADTEST_H
12
#define WRENCH_COMPUTETHREADTEST_H
13
14
#include <wrench/simgrid_S4U_util/S4U_Mailbox.h>
15
#include "wrench/simgrid_S4U_util/S4U_Simulation.h"
16
#include "helper_services/standard_job_executor/StandardJobExecutorMessage.h"
17
18
19
namespace
wrench
{
20
21
/***********************/
23
/***********************/
24
25
class
Simulation;
26
32
class
ComputeThread :
public
Service {
33
34
public
:
35
36
ComputeThread(std::string hostname,
double
flops, std::string reply_mailbox);
37
38
int
main()
override
;
39
40
void
cleanup(
bool
has_returned_from_main,
int
return_value)
override
;
41
42
void
kill();
43
44
private
:
45
double
flops;
46
std::string reply_mailbox;
47
48
};
49
50
/***********************/
52
/***********************/
53
};
54
55
#endif //WRENCH_COMPUTETHREADTEST_H
wrench
Definition:
Alarm.cpp:20