diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-14 16:03:27 +0200 | 
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-05-14 16:09:20 +0200 | 
| commit | 55f2653aafa38ea1d53a43c104185218e0dad1f1 (patch) | |
| tree | 9e550665102e5543be8186b259586a69e7c8b83f /BFS | |
| parent | c2819a30f6914267e5792b68ca8a500f0e06ce79 (diff) | |
Use benchmark-specific input descriptions rather than opaque "#elements"
Diffstat (limited to 'BFS')
| -rw-r--r-- | BFS/include/dfatool_host.ah | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/BFS/include/dfatool_host.ah b/BFS/include/dfatool_host.ah index 592e6ec..b2677e1 100644 --- a/BFS/include/dfatool_host.ah +++ b/BFS/include/dfatool_host.ah @@ -5,6 +5,9 @@  aspect DfatoolHostTiming : public DfatoolHostDPUTiming { +	unsigned long input_size; +	unsigned int element_size; +  	virtual int getKernel() { return 1; }  	DfatoolHostTiming() { @@ -18,10 +21,10 @@ aspect DfatoolHostTiming : public DfatoolHostDPUTiming {  	advice call("% coo2csr(...)") : after() {  		struct CSRGraph *g = tjp->result();  		input_size = g->numNodes; -		printf("[--] BFS | n_dpus=%u n_elements=%lu\n", NR_DPUS, input_size); +		printf("[--] BFS | n_dpus=%u n_nodes=%lu\n", NR_DPUS, input_size);  	}  	advice execution("% main(...)") : after() { -		printf("[<<] BFS | n_dpus=%u n_elements=%lu\n", NR_DPUS, input_size); +		printf("[<<] BFS | n_dpus=%u n_nodes=%lu\n", NR_DPUS, input_size);  	}  };  | 
