Commit 0b032f38 by Paolo Carlini Committed by Paolo Carlini

profiler_trace.h: Uglify it to __it, use everywhere std::size_t instead of size_t.

2010-06-25  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/profile/impl/profiler_trace.h: Uglify it to __it, use
	everywhere std::size_t instead of size_t.

From-SVN: r161368
parent 0354c0c7
2010-06-25 Paolo Carlini <paolo.carlini@oracle.com>
* include/profile/impl/profiler_trace.h: Uglify it to __it, use
everywhere std::size_t instead of size_t.
2010-06-24 Paolo Carlini <paolo.carlini@oracle.com> 2010-06-24 Paolo Carlini <paolo.carlini@oracle.com>
* include/profile/impl/profiler_trace.h (__trace_base<>:: * include/profile/impl/profiler_trace.h (__trace_base<>::
......
...@@ -462,8 +462,8 @@ namespace __gnu_profile ...@@ -462,8 +462,8 @@ namespace __gnu_profile
std::fclose(__raw_file); std::fclose(__raw_file);
// Sort data by magnitude, keeping just top N. // Sort data by magnitude, keeping just top N.
size_t __cutoff = std::min(_GLIBCXX_PROFILE_DATA(_S_max_warn_count), std::size_t __cutoff = std::min(_GLIBCXX_PROFILE_DATA(_S_max_warn_count),
__warnings.size()); __warnings.size());
__top_n(__warnings, __top_warnings, __cutoff); __top_n(__warnings, __top_warnings, __cutoff);
FILE* __warn_file = __open_output_file("txt"); FILE* __warn_file = __open_output_file("txt");
...@@ -564,10 +564,10 @@ namespace __gnu_profile ...@@ -564,10 +564,10 @@ namespace __gnu_profile
if (!__env_value) if (!__env_value)
{ {
// Look it up in the config file. // Look it up in the config file.
__env_t::iterator it __env_t::iterator __it
= _GLIBCXX_PROFILE_DATA(__env).find(__factor->__env_var); = _GLIBCXX_PROFILE_DATA(__env).find(__factor->__env_var);
if (it != _GLIBCXX_PROFILE_DATA(__env).end()) if (__it != _GLIBCXX_PROFILE_DATA(__env).end())
__env_value = (*it).second.c_str(); __env_value = (*__it).second.c_str();
} }
if (__env_value) if (__env_value)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment