htmlPerformanceLog.h
Go to the documentation of this file.
00001 /* htmlPerformanceLog.h
00002  */
00003 #ifndef OSL_HTMLPERFORMANCELOG_H
00004 #define OSL_HTMLPERFORMANCELOG_H
00005 
00006 #include "osl/misc/log/performanceLog.h"
00007 #include <fstream>
00008 
00012 namespace osl
00013 {
00014   namespace misc
00015   {
00016     namespace log
00017     {
00018   struct HtmlPerformanceLog : public PerformanceLog
00019   {
00020     std::ofstream os;
00021     HtmlPerformanceLog(const char *filename, const char *title);
00022     ~HtmlPerformanceLog();
00023     void record(const char *name, Move correctMove, Move result, 
00024                 unsigned int nodes, unsigned int qnodes,
00025                 double seconds,
00026                 int depth);
00027   };
00028     }
00029   }
00030 }
00031 
00032 
00033 #endif /* OSL_HTMLPERFORMANCELOG_H */
00034 // ;;; Local Variables:
00035 // ;;; mode:c++
00036 // ;;; c-basic-offset:2
00037 // ;;; coding:utf-8
00038 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines