RecoSim  1.0
 All Classes Files Functions Variables Enumerations
Classes | Macros | Enumerations | Functions | Variables
utils.h File Reference
#include <systemc>
#include "tlm.h"
#include "config.h"
#include "user_parameters.h"

Go to the source code of this file.

Classes

class  Utils
 

Macros

#define RECOSIM_PART
 
#define IS_VERBOSE_MODE()   (Utils::VERBOSE_MODE)
 

Enumerations

enum  ManagerToModuleCommands { MANAGER_COMMAND_SCHEDULING, MANAGER_UPDATE_PARAMETER_COMMAND_SCHEDULING }
 
enum  ModuleToManagerCommands { MANAGER_UPLINK_TASK_PREEMPTION, MANAGER_UPLINK_TASK_END_COMPUTATION, MANAGER_UPLINK_TASK_CHECK_SOCKET, MANAGER_UPLINK_ALGO_STATE_UPDATE }
 
enum  TestbenchToManagerCommands { TB_TO_MANAGER_CHECK_SOCKET, TB_TO_MANAGER_ALGORITHM_COMMAND }
 

Functions

bool generate_logfile (void)
 

Variables

const int RECOSIM_SIMULATION_SUCCESS = 0
 
const int RECOSIM_SIMULATION_FAILED_ERRCODE = 1
 
const int RECOSIM_NOT_ALL_TASKS_HOSTED_ERRCODE = 2
 
const int RECOSIM_INTERNAL_ERROR_ERRCODE = 3
 
const int RECOSIM_TESTBENCH_CHECK_FAILED = 4
 

Detailed Description

UNS - CNRS Copyright 2012 All Rights Reserved.

These computer program listings and specifications, herein, are the property of Université de Nice Sophia-Antipolis (UNS) and Centre National de la Recherche Scientifique (CNRS), and shall not be reproduced or copied or used in whole or in part as the basis for manufacture or sale of items without written permission. For a license agreement, please contact: conta.nosp@m.ct@s.nosp@m.attse.nosp@m..com

Author
Francois Duhem (Franc.nosp@m.ois..nosp@m.Duhem.nosp@m.@uni.nosp@m.ce.fr), Fabrice Muller (Fabri.nosp@m.ce.M.nosp@m.uller.nosp@m.@uni.nosp@m.ce.fr) University of Nice-Sophia Antipolis - LEAT/CNRS
Version
1.0
Date
2010-05-20

DESCRIPTION

Some useful functions