Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > HWSim > HWSim__PingPong__HWDef
diff SimParams.h @ 26:0deed3ee0b02
update comments for public viewing
| author | kshalle |
|---|---|
| date | Wed, 25 Feb 2015 15:20:16 -0800 |
| parents | 8d9d367e96f9 |
| children |
line diff
1.1 --- a/SimParams.h Thu May 24 08:14:21 2012 -0700 1.2 +++ b/SimParams.h Wed Feb 25 15:20:16 2015 -0800 1.3 @@ -1,45 +1,46 @@ 1.4 -/* 1.5 - * Copyright 2011 OpenSourceStewardshipFoundation.org 1.6 - * Licensed under GNU General Public License version 2 1.7 - */ 1.8 - 1.9 -#ifndef SIM_PARAMS_ 1.10 -#define SIM_PARAMS_ 1.11 - 1.12 -#include <stdio.h> 1.13 -#include <unistd.h> 1.14 -#include <malloc.h> 1.15 - 1.16 -#include "../VMS_Implementations/VMS_impl/VMS_primitive_data_types.h" 1.17 -#include "../C_Libraries/ParamHelper/Param.h" 1.18 - 1.19 - 1.20 -//============================== Structures ============================== 1.21 -typedef struct 1.22 - { uint8 *guestApp; 1.23 - uint8 *systemCode; 1.24 - int32 numNodes; 1.25 - } 1.26 -SimulationResults; 1.27 - 1.28 -typedef struct 1.29 - { uint8 *guestApp; 1.30 - uint8 *systemCode; 1.31 - int32 numNodes; 1.32 - SimulationResults *simResults; 1.33 - } 1.34 -SimulationParams; 1.35 - 1.36 -//============================== Functions ================================ 1.37 -void 1.38 -printSimResults( SimulationResults simResults ); 1.39 - 1.40 -void 1.41 -fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag ); 1.42 - 1.43 - 1.44 -//=========================================================================== 1.45 - 1.46 -#endif /**/ 1.47 - 1.48 - 1.49 +/* 1.50 + * Copyright 2011 OpenSourceResearchInstitute.org 1.51 + * Licensed under GNU General Public License version 2 1.52 + */ 1.53 + 1.54 +#ifndef SIM_PARAMS_ 1.55 +#define SIM_PARAMS_ 1.56 + 1.57 +#include <stdio.h> 1.58 +#include <unistd.h> 1.59 +#include <malloc.h> 1.60 + 1.61 +#include "../VMS_Implementations/VMS_impl/VMS_primitive_data_types.h" 1.62 +#include "../C_Libraries/ParamHelper/Param.h" 1.63 + 1.64 + 1.65 +//============================== Structures ============================== 1.66 +//TODO: fill this in with real result values want to collect 1.67 +typedef struct 1.68 + { uint8 *guestApp; 1.69 + uint8 *systemCode; 1.70 + int32 numNodes; 1.71 + } 1.72 +SimulationResults; 1.73 + 1.74 +typedef struct 1.75 + { uint8 *guestApp; 1.76 + uint8 *systemCode; 1.77 + int32 numNodes; 1.78 + SimulationResults *simResults; 1.79 + } 1.80 +SimulationParams; 1.81 + 1.82 +//============================== Functions ================================ 1.83 +void 1.84 +printSimResults( SimulationResults simResults ); 1.85 + 1.86 +void 1.87 +fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag ); 1.88 + 1.89 + 1.90 +//=========================================================================== 1.91 + 1.92 +#endif /**/ 1.93 + 1.94 +
