Add initial code annotations for the new profiling tool

This was SVN commit r10466.
This commit is contained in:
Ykkrosh
2011-11-04 01:35:50 +00:00
parent 9965f43067
commit 09a02c96d5
28 changed files with 165 additions and 96 deletions
+3
View File
@@ -20,6 +20,7 @@
#include "gui/GUIManager.h"
#include "ps/CLogger.h"
#include "ps/Profile.h"
#include "lib/res/h_mgr.h" // h_reload
#include "lib/sysdep/dir_watch.h"
@@ -67,6 +68,8 @@ static bool CanIgnore(const DirWatchNotification& notification)
Status ReloadChangedFiles()
{
PROFILE3("hotload");
std::vector<DirWatchNotification> notifications;
RETURN_STATUS_IF_ERR(dir_watch_Poll(notifications));
for(size_t i = 0; i < notifications.size(); i++)