Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
INTsight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lehrstuhl für Informatik 4 (Systemsoftware)
INTsight
Commits
f9c1ac5e
Commit
f9c1ac5e
authored
6 years ago
by
Luis Gerhorst
Committed by
Bernhard Heinloth
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup
parent
06f0345a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm/measuremore/measure.c
+4
-6
4 additions, 6 deletions
arch/arm/measuremore/measure.c
with
4 additions
and
6 deletions
arch/arm/measuremore/measure.c
+
4
−
6
View file @
f9c1ac5e
...
...
@@ -18,10 +18,11 @@ u32 debugfs_progress_interval = 100;
static
struct
dentry
*
csv_results_folder
=
NULL
;
/* Lightweight data structure to record checkpoints while benchmarking. Cache-friendly. */
/* Lightweight data structure to record checkpoints while
* benchmarking. Cache-friendly. */
struct
benchmark_record
{
size_t
width
;
/* The maximum number of checkpoints in a run. */
size_t
height
;
/* The number of r
epetitio
ns. */
size_t
height
;
/* The number of r
u
ns. */
struct
checkpoint_record
cpr_matrix
[];
};
...
...
@@ -59,7 +60,7 @@ int memo_start_benchmark(size_t reps, size_t checkpoint_capacity)
/* To put the area into the cache and allow us to recognize used
* checkpoint records. */
pr_info
(
"Initializing matrix with 0s...
\n
"
);
pr_info
(
"Initializing matrix with 0s... "
);
memzero_explicit
(
current_bmr
,
bmr_size
);
pr_info
(
"done
\n
"
);
...
...
@@ -69,8 +70,6 @@ int memo_start_benchmark(size_t reps, size_t checkpoint_capacity)
current_y
=
0
;
#ifdef CONFIG_MEASUREMORE_TIMESTAMP_TYPE_PMCCNTR
/* TODO: The followind does not seem to actually reset the pmccntr to
* 0. It only starts the counter in the first place. */
pmccntr_reset
();
#endif
return
0
;
...
...
@@ -245,7 +244,6 @@ static void export_current_bmr_to_csv_results(void)
pr_info
(
"Exporting results as CSVs:
\n
"
);
csv_results_folder
=
debugfs_create_dir
(
"csv_results"
,
memo_root
);
BUG_ON
(
!
csv_results_folder
);
/* Don't forget to free each blob's data in destroy_csv_field(). */
#ifdef CONFIG_MEASUREMORE_TIMESTAMP_TYPE_PMCCNTR
create_csv_file
(
"pmccntr"
,
seq_write_pmccntr_csv_field
,
csv_results_folder
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment