1
0
forked from 0ad/0ad

Report timer_Resolution via hwdetect

This was SVN commit r10947.
This commit is contained in:
Ykkrosh 2012-01-22 13:49:09 +00:00
parent c7e9894d44
commit d40e4797de
2 changed files with 4 additions and 2 deletions

View File

@ -269,7 +269,7 @@ function RunDetection(settings)
global.RunHardwareDetection = function(settings) global.RunHardwareDetection = function(settings)
{ {
//print(JSON.stringify(settings, null, 1).length+"\n"); //print(JSON.stringify(settings, null, 1)+"\n");
var output = RunDetection(settings); var output = RunDetection(settings);

View File

@ -262,8 +262,10 @@ void RunHardwareDetection()
scriptInterface.SetProperty(settings.get(), "x86_tlbs", ConvertTLBs(scriptInterface)); scriptInterface.SetProperty(settings.get(), "x86_tlbs", ConvertTLBs(scriptInterface));
#endif #endif
scriptInterface.SetProperty(settings.get(), "timer_resolution", timer_Resolution());
// Send the same data to the reporting system // Send the same data to the reporting system
g_UserReporter.SubmitReport("hwdetect", 9, scriptInterface.StringifyJSON(settings.get(), false)); g_UserReporter.SubmitReport("hwdetect", 10, scriptInterface.StringifyJSON(settings.get(), false));
// Run the detection script: // Run the detection script: