view src/Application/SimParams.h @ 1:7566745e812a

Ideas starting to gel.. application part close to candidate form
author Me@portablequad
date Sat, 19 Nov 2011 17:58:21 -0800
parents 8ea476474093
children 648207f2e38f
line source
1 /*
2 * Copyright 2011 OpenSourceStewardshipFoundation.org
3 * Licensed under GNU General Public License version 2
4 */
6 #ifndef SIM_PARAMS_
7 #define SIM_PARAMS_
9 #include <stdio.h>
10 #include <unistd.h>
11 #include <malloc.h>
13 #include "../HWSim_lib/VMS/VMS_primitive_data_types.h"
14 #include "ParamHelper/Param.h"
17 //============================== Structures ==============================
18 typedef struct
19 { uint8 *guestApp;
20 uint8 *systemCode;
21 int32 numNodes;
22 }
23 SimulationResults;
25 typedef struct
26 { uint8 *guestApp;
27 uint8 *systemCode;
28 int32 numNodes;
29 SimulationResults *simResults;
30 }
31 SimulationParams;
33 //============================== Functions ================================
34 void
35 printSimResults( SimulationResults simResults );
37 void
38 fill_sim_params_from_bag( SimulationParams *simParams, ParamBag *paramBag );
41 //===========================================================================
43 #endif /**/