Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > HWSim > HWSim__PingPong__HWDef
annotate src/Application/SimParams.h @ 10:aa78c6edf3b8
committing state of sub-repositories
| author | Me@portablequad |
|---|---|
| date | Wed, 04 Jan 2012 16:41:01 -0800 |
| parents | 7566745e812a |
| children |
| rev | line source |
|---|---|
| hausers@5 | 1 /* |
| hausers@5 | 2 * Copyright 2011 OpenSourceStewardshipFoundation.org |
| hausers@5 | 3 * Licensed under GNU General Public License version 2 |
| hausers@5 | 4 */ |
| hausers@5 | 5 |
| hausers@5 | 6 #ifndef SIM_PARAMS_ |
| hausers@5 | 7 #define SIM_PARAMS_ |
| hausers@5 | 8 |
| hausers@5 | 9 #include <stdio.h> |
| hausers@5 | 10 #include <unistd.h> |
| hausers@5 | 11 #include <malloc.h> |
| hausers@5 | 12 |
| hausers@5 | 13 #include "../HWSim_lib/VMS/VMS_primitive_data_types.h" |
| hausers@5 | 14 #include "ParamHelper/Param.h" |
| hausers@5 | 15 |
| hausers@5 | 16 |
| hausers@5 | 17 //============================== Structures ============================== |
| hausers@5 | 18 typedef struct |
| hausers@5 | 19 { uint8 *guestApp; |
| hausers@5 | 20 uint8 *systemCode; |
| hausers@5 | 21 int32 numNodes; |
| hausers@5 | 22 } |
| hausers@5 | 23 SimulationResults; |
| hausers@5 | 24 |
| hausers@5 | 25 typedef struct |
| hausers@5 | 26 { uint8 *guestApp; |
| hausers@5 | 27 uint8 *systemCode; |
| hausers@5 | 28 int32 numNodes; |
| hausers@5 | 29 SimulationResults *simResults; |
| hausers@5 | 30 } |
| hausers@5 | 31 SimulationParams; |
| hausers@5 | 32 |
| hausers@5 | 33 //============================== Functions ================================ |
| hausers@5 | 34 void |
| hausers@5 | 35 printSimResults( SimulationResults simResults ); |
| hausers@5 | 36 |
| hausers@5 | 37 void |
| hausers@5 | 38 fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag ); |
| hausers@5 | 39 |
| hausers@5 | 40 |
| hausers@5 | 41 //=========================================================================== |
| hausers@5 | 42 |
| hausers@5 | 43 #endif /**/ |
| hausers@5 | 44 |
| hausers@5 | 45 |
