Mercurial > cgi-bin > hgwebdir.cgi > PR > Applications > HWSim > HWSim__PingPong__HWDef
comparison src/Application/SimParams.h @ 0:8ea476474093
Initial add -- gobbeldegook
| author | Me@portablequad |
|---|---|
| date | Mon, 07 Nov 2011 16:03:01 -0800 |
| parents | |
| children | 7566745e812a |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:749bd53b527f |
|---|---|
| 1 /* | |
| 2 | |
| 3 * Copyright Oct 24, 2009 OpenSourceStewardshipFoundation.org | |
| 4 | |
| 5 * Licensed under GNU General Public License version 2 | |
| 6 | |
| 7 */ | |
| 8 | |
| 9 | |
| 10 | |
| 11 #ifndef MATRIX_MULT_H_ | |
| 12 | |
| 13 #define MATRIX_MULT_H_ | |
| 14 | |
| 15 | |
| 16 | |
| 17 #include <stdio.h> | |
| 18 | |
| 19 #include <unistd.h> | |
| 20 | |
| 21 #include <malloc.h> | |
| 22 | |
| 23 | |
| 24 | |
| 25 #include "../HWSim_lib/VMS/VMS_primitive_data_types.h" | |
| 26 | |
| 27 #include "ParamHelper/Param.h" | |
| 28 | |
| 29 | |
| 30 | |
| 31 //============================== Structures ============================== | |
| 32 | |
| 33 | |
| 34 | |
| 35 typedef | |
| 36 | |
| 37 struct | |
| 38 | |
| 39 { uint8 *guestApp; | |
| 40 | |
| 41 uint8 *systemCode; | |
| 42 | |
| 43 int32 numNodes; | |
| 44 | |
| 45 } | |
| 46 | |
| 47 SimulationResults; | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 typedef | |
| 54 | |
| 55 struct | |
| 56 | |
| 57 { uint8 *guestApp; | |
| 58 | |
| 59 uint8 *systemCode; | |
| 60 | |
| 61 int32 numNodes; | |
| 62 | |
| 63 SimulationResults *simResults; | |
| 64 | |
| 65 } | |
| 66 | |
| 67 SimulationParams; | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 //============================== Functions ================================ | |
| 76 | |
| 77 | |
| 78 | |
| 79 void | |
| 80 | |
| 81 printSimResults( SimulationResults simResults ); | |
| 82 | |
| 83 | |
| 84 | |
| 85 void | |
| 86 | |
| 87 fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag ); | |
| 88 | |
| 89 | |
| 90 | |
| 91 //=========================================================================== | |
| 92 | |
| 93 | |
| 94 | |
| 95 #endif /*MATRIX_MULT_H_*/ | |
| 96 |
