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