Commit 45e32fb7 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Try to minimize profile file size

parent 7f827294
......@@ -283,7 +283,7 @@ namespace ITA
m_bEnabled = true;
std::stringstream ss;
ss << jnRoot.write_formatted ( );
ss << jnRoot.write ( );
return ss;
}
......@@ -342,7 +342,7 @@ namespace ITA
jnRoot.push_back ( jnTimeStampArray );*/
jnRoot.push_back ( JSONNode ( "Time Stamps", utils::DataTypeUtils::convertToString ( vdTimeStamps ) ) );
jnRoot.push_back ( JSONNode ( "Time Stamps", utils::DataTypeUtils::convertToString ( vdTimeStamps, 8, "," ) ) );
return jnRoot;
}
......@@ -440,8 +440,8 @@ namespace ITA
jnRoot.push_back ( jnEndTimeArray );*/
jnRoot.push_back ( JSONNode ( "Start Times", utils::DataTypeUtils::convertToString ( vdStartTime ) ) );
jnRoot.push_back ( JSONNode ( "End Times", utils::DataTypeUtils::convertToString ( vdEndTime ) ) );
jnRoot.push_back ( JSONNode ( "Start Times", utils::DataTypeUtils::convertToString ( vdStartTime, 8, "," ) ) );
jnRoot.push_back ( JSONNode ( "End Times", utils::DataTypeUtils::convertToString ( vdEndTime, 8, "," ) ) );
return jnRoot;
}
......@@ -560,8 +560,8 @@ namespace ITA
return p.second;
} );
JSONNode jnTimeStampArray ( "Time Stamps", utils::DataTypeUtils::convertToString ( vdTimeStamps ) );
JSONNode jnDataArray ( "Data", utils::DataTypeUtils::convertToString ( vTData ) );
JSONNode jnTimeStampArray ( "Time Stamps", utils::DataTypeUtils::convertToString ( vdTimeStamps, 8, "," ) );
JSONNode jnDataArray ( "Data", utils::DataTypeUtils::convertToString ( vTData, 8, "," ) );
return std::make_pair ( jnTimeStampArray, jnDataArray );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment