Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Alexander Kaznacheev
GHC
Commits
d315985a
Commit
d315985a
authored
4 years ago
by
Ben Gamari
Browse files
Options
Downloads
Patches
Plain Diff
rts/Stats: Hide a few unused unnecessarily global functions
parent
1ada18d2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
rts/Stats.c
+0
-19
0 additions, 19 deletions
rts/Stats.c
rts/Stats.h
+0
-3
0 additions, 3 deletions
rts/Stats.h
with
0 additions
and
22 deletions
rts/Stats.c
+
0
−
19
View file @
d315985a
...
@@ -81,25 +81,6 @@ Time stat_getElapsedTime(void)
...
@@ -81,25 +81,6 @@ Time stat_getElapsedTime(void)
Measure the current MUT time, for profiling
Measure the current MUT time, for profiling
------------------------------------------------------------------------ */
------------------------------------------------------------------------ */
double
mut_user_time_until
(
Time
t
)
{
return
TimeToSecondsDbl
(
t
-
stats
.
gc_cpu_ns
-
stats
.
nonmoving_gc_cpu_ns
);
// heapCensus() time is included in GC_tot_cpu, so we don't need
// to subtract it here.
// TODO: This seems wrong to me. Surely we should be subtracting
// (at least) start_init_cpu?
}
double
mut_user_time
(
void
)
{
Time
cpu
;
cpu
=
getProcessCPUTime
();
return
mut_user_time_until
(
cpu
);
}
#if defined(PROFILING)
#if defined(PROFILING)
/*
/*
mut_user_time_during_RP() returns the MUT time during retainer profiling.
mut_user_time_during_RP() returns the MUT time during retainer profiling.
...
...
This diff is collapsed.
Click to expand it.
rts/Stats.h
+
0
−
3
View file @
d315985a
...
@@ -65,9 +65,6 @@ void initStats0(void);
...
@@ -65,9 +65,6 @@ void initStats0(void);
void
initStats1
(
void
);
void
initStats1
(
void
);
void
resetChildProcessStats
(
void
);
void
resetChildProcessStats
(
void
);
double
mut_user_time_until
(
Time
t
);
double
mut_user_time
(
void
);
void
statDescribeGens
(
void
);
void
statDescribeGens
(
void
);
Time
stat_getElapsedGCTime
(
void
);
Time
stat_getElapsedGCTime
(
void
);
...
...
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