Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Decking
GHC
Commits
fd3fd18a
Commit
fd3fd18a
authored
Jan 17, 2013
by
ian@well-typed.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose the prototype for getMonotonicNSec
Fixes T3807 on OS X 32.
parent
81f4cd3e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
includes/Rts.h
includes/Rts.h
+1
-0
includes/rts/GetTime.h
includes/rts/GetTime.h
+19
-0
rts/GetTime.h
rts/GetTime.h
+0
-1
No files found.
includes/Rts.h
View file @
fd3fd18a
...
...
@@ -226,6 +226,7 @@ INLINE_HEADER Time fsecondsToTime (double t)
#include "rts/Flags.h"
#include "rts/Adjustor.h"
#include "rts/FileLock.h"
#include "rts/GetTime.h"
#include "rts/Globals.h"
#include "rts/IOManager.h"
#include "rts/Linker.h"
...
...
includes/rts/GetTime.h
0 → 100644
View file @
fd3fd18a
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 1995-2009
*
* Interface to the RTS time
*
* Do not #include this file directly: #include "Rts.h" instead.
*
* To understand the structure of the RTS headers, see the wiki:
* http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
*
* ---------------------------------------------------------------------------*/
#ifndef RTS_GETTIME_H
#define RTS_GETTIME_H
StgWord64
getMonotonicNSec
(
void
);
#endif
/* RTS_GETTIME_H */
rts/GetTime.h
View file @
fd3fd18a
...
...
@@ -12,7 +12,6 @@
#include "BeginPrivate.h"
void
initializeTimer
(
void
);
StgWord64
getMonotonicNSec
(
void
);
Time
getProcessCPUTime
(
void
);
Time
getThreadCPUTime
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment