Authors: Christian Thalinger
- $Id: statistics.c 1408 2004-08-17 12:43:17Z twisti $
+ $Id: statistics.c 1418 2004-10-19 14:11:58Z carolyn $
*/
#include "global.h"
#include "statistics.h"
#include "toolbox/logging.h"
+#include "options.h"
/* global variables */
int count_const_pool_len = 0;
int count_vftbl_len = 0;
int count_all_methods = 0;
+int count_methods_marked_used = 0; /* RTA */
+
int count_vmcode_len = 0;
int count_extable_len = 0;
int count_class_loads = 0;
log_text(logtext);
sprintf(logtext, "Number of compiled Methods: %d", count_methods);
log_text(logtext);
+ if (opt_rt) {
+ sprintf(logtext, "Number of Methods marked Used: %d", count_methods_marked_used);
+ log_text(logtext);
+ }
sprintf(logtext, "Number of max basic blocks per method: %d", count_max_basic_blocks);
log_text(logtext);
sprintf(logtext, "Number of compiled basic blocks: %d", count_basic_blocks);
Authors: Christian Thalinger
- $Id: statistics.c 1408 2004-08-17 12:43:17Z twisti $
+ $Id: statistics.c 1418 2004-10-19 14:11:58Z carolyn $
*/
#include "global.h"
#include "statistics.h"
#include "toolbox/logging.h"
+#include "options.h"
/* global variables */
int count_const_pool_len = 0;
int count_vftbl_len = 0;
int count_all_methods = 0;
+int count_methods_marked_used = 0; /* RTA */
+
int count_vmcode_len = 0;
int count_extable_len = 0;
int count_class_loads = 0;
log_text(logtext);
sprintf(logtext, "Number of compiled Methods: %d", count_methods);
log_text(logtext);
+ if (opt_rt) {
+ sprintf(logtext, "Number of Methods marked Used: %d", count_methods_marked_used);
+ log_text(logtext);
+ }
sprintf(logtext, "Number of max basic blocks per method: %d", count_max_basic_blocks);
log_text(logtext);
sprintf(logtext, "Number of compiled basic blocks: %d", count_basic_blocks);