Changeset bdaf020


Ignore:
Timestamp:
05/29/15 03:30:33 (10 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master
Children:
5a9481e
Parents:
1e5cce6
git-author:
Hal Finkel <hfinkel@…> (05/29/15 03:30:33)
git-committer:
Hal Finkel <hfinkel@…> (05/29/15 03:30:33)
Message:

better legend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • memlog2dot

    r747d2b1 rbdaf020  
    166166} 
    167167 
    168 printf DOT ("digraph \"memlog %s (maxrss = %s after %s s)\" {\n", 
    169             format_bytes($total_size), format_bytes($max_rss), $max_rss_time); 
     168print DOT ("digraph \"memlog\" {\n"); 
    170169print DOT ("size=\"8,11\";\n"); 
    171170print DOT ("node [width=0.375,height=0.25];\n"); 
     171 
     172printf DOT ("Legend [shape=box, fontsize=100, shape=oval," . 
     173            "label=\"Total: %s active at maxrss = %s after %s s\"];\n", 
     174            format_bytes($total_size), format_bytes($max_rss), $max_rss_time); 
    172175 
    173176my %cached_names; 
Note: See TracChangeset for help on using the changeset viewer.