Skip to content

Add reuse client#1

Open
jqswang wants to merge 55 commits intoWitchTools:masterfrom
jqswang:master
Open

Add reuse client#1
jqswang wants to merge 55 commits intoWitchTools:masterfrom
jqswang:master

Conversation

@jqswang
Copy link

@jqswang jqswang commented May 10, 2018

When compiling, adding the flag -DREUSE_HISTO makes the reuse client into histogram mode; otherwise, it is just profiling mode.

When in histogram mode, use the environmental variable HPCRUN_WP_REUSE_BIN_SCHEME to tune the bin.
If it set to TRACE or not set, it will trace all the reuse pair and context.
Otherwise, you can set it to two numbers which determines the bin start and the ratio. For example, 4000,2 indicates the first two bins are [0, 4000) and [4000, 8000)

Added time reuse distance and cacheline reuse distance
… context PC to construct the calling context
Conflicts:
	src/tool/hpcrun/sample-sources/perf/linux_perf.c
	src/tool/hpcrun/sample-sources/watchpoint_support.c
Re-added the flag PERF_EVENT_IOC_UPDATE_BREAKPOINT for older kernel
When sampling the load (threshold_above_latency), do not record the sample if it is an L1 hit
…. Otherwise, it may make the value of some event appear smaller.
Conflicts:
	src/tool/hpcrun/sample-sources/watchpoint_clients.c
2). add online attribution for memory reuse distance
3). fix a bug about sampling policy setting
1). Added cache miss metric from MEM_TRANS_RETIRED:THRESHOLD_ABOVE_LATENCY
2). Added online reuse distance estimation due to counter multiplexing
3). Disable the dummy counter from watchpoint
4). Start to implement that the number of memeroy accesses is read from overflow counters
rdxpaper added 25 commits March 29, 2018 14:40
Implemented the function linux_perf_read_event_counter()
How to concatenate the use and reuse pair can be determined by the environmental variable HPCRUN_WP_REUSE_CONCATENATE_ORDER
Conflicts:
	src/tool/hpcrun/sample-sources/perf/linux_perf.c
	src/tool/hpcrun/sample-sources/perf/perf-util.c
	src/tool/hpcrun/sample-sources/watchpoint_support.c
Conflicts:
	src/tool/hpcrun/sample-sources/perf/linux_perf.c
	src/tool/hpcrun/sample-sources/perf/perf-util.c
Conflicts:
	src/tool/hpcrun/sample-sources/perf/perf-util.c
Conflicts:
	src/tool/hpcrun/sample-sources/watchpoint_support.c
Conflicts:
	src/tool/hpcrun/sample-sources/perf/linux_perf.c
	src/tool/hpcrun/utilities/tokenize.c
Conflicts:
	src/tool/hpcrun/sample-sources/perf/linux_perf.c
	src/tool/hpcrun/sample-sources/perf/perf-util.c
	src/tool/hpcrun/utilities/tokenize.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants