00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00032 #include "nsISupports.idl"
00033 #include "nsIStringEnumerator.idl"
00034
00035 interface nsIFile;
00036
00041 [scriptable, uuid(b13a1c2c-6c62-422e-a478-a08f0ff9dbd9)]
00042 interface sbITimingService : nsISupports
00043 {
00048 attribute boolean enabled;
00049
00055 attribute nsIFile logFile;
00056
00063 void startPerfTimer(in AString aTimerName);
00064
00073 long long stopPerfTimer(in AString aTimerName);
00074 };
00075
00076 [scriptable, uuid(5b61947d-111c-4060-b53b-fcd7d0617845)]
00077 interface sbITimingServiceTimer : nsISupports
00078 {
00079 readonly attribute AString name;
00080
00081 readonly attribute long long startTime;
00082 readonly attribute long long stopTime;
00083
00084 readonly attribute long long totalTime;
00085 };