Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > HWSim > HWSim__PingPong__HWDef
annotate SimParams.h @ 27:fb4970a0c337
fix up comment in main.c
author | kshalle |
---|---|
date | Wed, 25 Feb 2015 15:40:06 -0800 |
parents | 8d9d367e96f9 |
children |
rev | line source |
---|---|
kshalle@26 | 1 /* |
kshalle@26 | 2 * Copyright 2011 OpenSourceResearchInstitute.org |
kshalle@26 | 3 * Licensed under GNU General Public License version 2 |
kshalle@26 | 4 */ |
kshalle@26 | 5 |
kshalle@26 | 6 #ifndef SIM_PARAMS_ |
kshalle@26 | 7 #define SIM_PARAMS_ |
kshalle@26 | 8 |
kshalle@26 | 9 #include <stdio.h> |
kshalle@26 | 10 #include <unistd.h> |
kshalle@26 | 11 #include <malloc.h> |
kshalle@26 | 12 |
kshalle@26 | 13 #include "../VMS_Implementations/VMS_impl/VMS_primitive_data_types.h" |
kshalle@26 | 14 #include "../C_Libraries/ParamHelper/Param.h" |
kshalle@26 | 15 |
kshalle@26 | 16 |
kshalle@26 | 17 //============================== Structures ============================== |
kshalle@26 | 18 //TODO: fill this in with real result values want to collect |
kshalle@26 | 19 typedef struct |
kshalle@26 | 20 { uint8 *guestApp; |
kshalle@26 | 21 uint8 *systemCode; |
kshalle@26 | 22 int32 numNodes; |
kshalle@26 | 23 } |
kshalle@26 | 24 SimulationResults; |
kshalle@26 | 25 |
kshalle@26 | 26 typedef struct |
kshalle@26 | 27 { uint8 *guestApp; |
kshalle@26 | 28 uint8 *systemCode; |
kshalle@26 | 29 int32 numNodes; |
kshalle@26 | 30 SimulationResults *simResults; |
kshalle@26 | 31 } |
kshalle@26 | 32 SimulationParams; |
kshalle@26 | 33 |
kshalle@26 | 34 //============================== Functions ================================ |
kshalle@26 | 35 void |
kshalle@26 | 36 printSimResults( SimulationResults simResults ); |
kshalle@26 | 37 |
kshalle@26 | 38 void |
kshalle@26 | 39 fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag ); |
kshalle@26 | 40 |
kshalle@26 | 41 |
kshalle@26 | 42 //=========================================================================== |
kshalle@26 | 43 |
kshalle@26 | 44 #endif /**/ |
kshalle@26 | 45 |
kshalle@26 | 46 |