sawsen11 / jrfonseca

Automatically exported from code.google.com/p/jrfonseca
0 stars 0 forks source link

[gprof2dot] any plan to beautify/simplify c++ STL/template method. #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
for example, this is a function name in my output:

Internal::map_base<unsigned long, std::pair<unsigned long const, PostingList*>, 
Internal::extract1st<std::pair<unsigned long const, PostingList*> >, true, 
std::tr1::hashtable<unsigned long, std::pair<unsigned long const, 
PostingList*>, std::allocator<std::pair<unsigned long const, PostingList*> >, 
Internal::extract1st<std::pair<unsigned long const, PostingList*> >, 
std::equal_to<unsigned long>, std::tr1::hash<unsigned long>, 
Internal::mod_range_hashing, Internal::default_ranged_hash, 
Internal::prime_rehash_policy, false, false, true> >::operator[](unsigned long 
const&)

It is very ugly to be shown in png of pdf.

Original issue reported on code.google.com by zhangyaf...@gmail.com on 4 Apr 2014 at 6:04

GoogleCodeExporter commented 9 years ago
adding an option to simplify class template or function template is wonderful.

Original comment by zhangyaf...@gmail.com on 4 Apr 2014 at 6:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i did it. but i have no time to make it an optional feature.

Original comment by zhangyaf...@gmail.com on 4 Apr 2014 at 7:55

Attachments:

GoogleCodeExporter commented 9 years ago
There's already the -s, --strip option, which does pretty much this.

Original comment by Jose.R.F...@gmail.com on 28 May 2014 at 8:23

GoogleCodeExporter commented 9 years ago
thanks

Original comment by zhangyaf...@gmail.com on 29 Aug 2014 at 11:03