blob: 8323b9959c79290acb23f2fc5c86c755dd988986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// -*- C++ -*-
//=============================================================================
/**
* @file FailureAwareWCRT.h
*
* $Id$
*
* @author Friedhelm Wolf (fwolf@dre.vanderbilt.edu)
*/
//=============================================================================
#ifndef FAILURE_AWARE_WCRT_H_
#define FAILURE_AWARE_WCRT_H_
#include "CTT_Enhanced.h"
#include "Scheduler.h"
class FailureAwareWCRT : public std::binary_function <double,
PROCESSOR_SET,
double>
{
public:
FailureAwareWCRT (const TASK_LIST & tasks,
const ReplicaFinder & replica_finder);
double operator () (double previous,
const PROCESSOR_SET & failures);
private:
CTT_Enhanced ctt_;
TASK_LIST tasks_;
const ReplicaFinder & replica_finder_;
};
#endif /* FAILURE_AWARE_WCRT_H_ */
|