|
|
|
|
|
|
Label m_PrevExecutionIdLabel; |
|
|
|
RunParameters m_RunParameters; |
|
|
|
|
|
|
|
const string m_SupportedGPUString = "NVIDIA"; |
|
|
|
const string k_SupportedGPUString = "NVIDIA"; |
|
|
|
|
|
|
|
[MenuItem("Window/Run in Unity Simulation")] |
|
|
|
static void ShowWindow() |
|
|
|
|
|
|
: m_RunParameters.currentScenario.SerializeToJson()); |
|
|
|
|
|
|
|
var constants = configuration["constants"]; |
|
|
|
if (constants == null) |
|
|
|
{ |
|
|
|
constants = new JObject(); |
|
|
|
configuration["constants"] = constants; |
|
|
|
} |
|
|
|
constants["totalIterations"] = m_RunParameters.totalIterations; |
|
|
|
constants["instanceCount"] = m_RunParameters.instanceCount; |
|
|
|
|
|
|
|