|
Refactor dmprof: Split dmprof.py into modules.
No changes in behavior and the main code. Changes are:
- .*Commands are moved into subcommands/.
- Other classes and functions are moved into into lib/.
- Constants are defined in their appropriate files in lib/.
- External libraries are imported via lib/.
- "Command" is renamed to "SubCommand".
BUG= 123750
NOTRY=True
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211976
Total comments: 6
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+3214 lines, -3154 lines) |
Patch |
 |
M |
tools/deep_memory_profiler/dmprof.py
|
View
|
1
2
3
4
5
|
1 chunk |
+16 lines, -2971 lines |
0 comments
|
Download
|
 |
A + |
tools/deep_memory_profiler/lib/__init__.py
|
View
|
1
2
3
4
5
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/lib/bucket.py
|
View
|
1
2
3
4
5
|
1 chunk |
+191 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/lib/dump.py
|
View
|
1
2
3
4
5
|
1 chunk |
+487 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/lib/exceptions.py
|
View
|
1
2
3
4
5
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/lib/ordered_dict.py
|
View
|
1
2
3
4
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/lib/pageframe.py
|
View
|
|
1 chunk |
+163 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/lib/policy.py
|
View
|
1
|
1 chunk |
+404 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
tools/deep_memory_profiler/lib/range_dict.py
|
View
|
1
2
3
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/lib/sorter.py
|
View
|
1
2
|
1 chunk |
+443 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/lib/subcommand.py
|
View
|
1
|
1 chunk |
+160 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/lib/symbol.py
|
View
|
1
|
1 chunk |
+189 lines, -0 lines |
0 comments
|
Download
|
 |
D |
tools/deep_memory_profiler/range_dict.py
|
View
|
|
1 chunk |
+0 lines, -144 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/subcommands/__init__.py
|
View
|
1
2
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/subcommands/buckets.py
|
View
|
1
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/subcommands/cat.py
|
View
|
1
2
3
4
|
1 chunk |
+172 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/subcommands/expand.py
|
View
|
1
|
1 chunk |
+104 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/subcommands/map.py
|
View
|
1
|
1 chunk |
+102 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/subcommands/policies.py
|
View
|
1
2
|
1 chunk |
+375 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/subcommands/pprof.py
|
View
|
1
|
1 chunk |
+161 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/subcommands/stacktrace.py
|
View
|
1
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tools/deep_memory_profiler/subcommands/upload.py
|
View
|
1
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
 |
M |
tools/deep_memory_profiler/tests/dmprof_test.py
|
View
|
1
|
4 chunks |
+25 lines, -27 lines |
0 comments
|
Download
|
 |
M |
tools/deep_memory_profiler/tests/range_dict_tests.py
|
View
|
|
6 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|