Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


fixed configuration macro checks and a few configuration bugs
[palacios.git] / palacios / include / palacios / vmm_profiler.h
index b083232..9787db0 100644 (file)
 
 #ifdef __V3VEE__
 
+#ifdef CONFIG_PROFILE_VMM 
+
 #include <palacios/vmm_rbtree.h>
 
 struct guest_info;
 
 
 struct v3_profiler {
-  uint_t total_exits;
+    uint_t total_exits;
+
+    ullong_t start_time;
+    ullong_t end_time;
 
-  ullong_t start_time;
-  ullong_t end_time;
+    uint_t guest_pf_cnt;
 
-  struct rb_root root;
+    struct rb_root root;
 };
 
 
@@ -43,6 +47,7 @@ void v3_profile_exit(struct guest_info * info, uint_t exit_code);
 
 void v3_print_profile(struct guest_info * info);
 
+#endif
 
 #endif