PDA

View Full Version : BOINC Manager stats view messed up



Jim_Clark
02-27-2008, 03:03 PM
"Back to the Future" in BOINC!

I was using the calendar function of my PC to check a date in March, and it messed up the 'statistics' tab view of BOINC Manager.

I double-clicked the time display at the lower right of the screen, bringing up the calendar window. Then I advanced the month to see March. Now March 27 was highlighted instead of February 27. After seeing what I needed of March, I set the view back to February and closed the calendar window.

Later, I clicked the 'statistics' tab of BOINC Manager to see the 'statistics' view, which I usually have set to the 'All projects (sum)' mode. Instead of seeing the usual plot spanning the last 30 days, I saw one straight line for each project, jumping from February 26 to March 27!

I think what happened was that BOINC Manager updated its statistics data while the calendar was set a month ahead. I didn't realize that I had changed the system date, since I didn't click 'OK' with the wrong date. BOINC Manager apparently then recorded the latest totals for March 27, and then purged the 'old' data that was more than 30 days older than March 27.

Now it has recorded totals for February 27, so that the plot jumps from February 26 forward to March 27, and then back to February 27. Like this:

http://home.comcast.net/~jamesmclark5/BOINC_stats_err.GIF

Is there some way for me to restore the statistics data and view? I found files such as statistics_www.primegrid.com.xml in the BOINC folder, but these appear to be only reporting files, not a files that I can change to change the data. I have been saving 'screen shots' of these plots every half-month, and this is messing up my records.

Danish Dynamite
02-27-2008, 04:35 PM
if you really need to you could edit statistics_www.primegrid.com.xml ect you would be wanting to get day number from lowest to highest below you should notice <day>2199232000.000000</day> is larger value then last entry that value should fall in between other two day values, to be honest i would just leave it alone

<project_statistics>
<master_url>http://www.primegrid.com/</master_url>
<daily_statistics>
<day>1199145600.000000</day>
<user_total_credit>1580.356433</user_total_credit>
<user_expavg_credit>0.068096</user_expavg_credit>
<host_total_credit>450.017365</host_total_credit>
<host_expavg_credit>0.095309</host_expavg_credit>
</daily_statistics>
<daily_statistics>
<day>2199232000.000000</day>
<user_total_credit>1585.382452</user_total_credit>
<user_expavg_credit>0.063608</user_expavg_credit>
<host_total_credit>455.043384</host_total_credit>
<host_expavg_credit>0.053214</host_expavg_credit>
</daily_statistics>
<daily_statistics>
<day>1199318400.000000</day>
<user_total_credit>1590.408472</user_total_credit>
<user_expavg_credit>0.543194</user_expavg_credit>
<host_total_credit>460.069404</host_total_credit>
<host_expavg_credit>0.533397</host_expavg_credit>
</daily_statistics>

Jim_Clark
02-27-2008, 10:32 PM
I tried editing the xml file, but it didn't change anything. But I changed it while BOINC Manager was running. Perhaps if I stop BOINC, edit the file(s), and restart, it will work, because (hopefully) this will force BOINC to read the xml files.

Jim_Clark
02-28-2008, 01:22 AM
Yes, editing the statistics_[PROJECT].xml files while BOINC is stopped worked.

I noticed that the <day> values are too big to be Julian day numbers, so I subtracted two of them and got the value 86400, which is the number of seconds in a day. This suggested that the <day> values are the number of seconds since some origin. Dividing the <day> values by 86400, the numbers are too small to be Julian day numbers, so using a Julian day number calculator (http://quasar.as.utexas.edu/BillInfo/JulianDateCalc.html), I found that the <day> values are the number of seconds since January 1, 1970, but always multiples of 86400.

Now my stats plot no longer goes backward in time, but I have lost the data for the last 30 days. I will look for old statistics_[PROJECT].xml files in my backup data.

Jim_Clark
03-03-2008, 02:50 PM
I got a message that my link to Cosmology@Home should be changed to cosmologyathome.org, by detaching and re-attaching the project. That emptied my Cosmology stats file. I should have saved the file before the detaching and re-attaching, then restored it afterward.