Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
robotpkg-wip
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
robotpkg-wip
Commits
887ddbd7
Commit
887ddbd7
authored
11 years ago
by
Pierrick Koch
Browse files
Options
Downloads
Patches
Plain Diff
[wip/libpointmatcher] update patch before gh/pr
parent
bc8a5483
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libpointmatcher/distinfo
+1
-1
1 addition, 1 deletion
libpointmatcher/distinfo
libpointmatcher/patches/patch-aa
+4
-4
4 additions, 4 deletions
libpointmatcher/patches/patch-aa
with
5 additions
and
5 deletions
libpointmatcher/distinfo
+
1
−
1
View file @
887ddbd7
SHA1 (libpointmatcher-1.1.0.tar.gz) = 49ae5a799f90bd8f381d0a0a444465ad35c1e64b
RMD160 (libpointmatcher-1.1.0.tar.gz) = dd9dfb488f44ca7d5231ce7f80b5b408f6e42269
Size (libpointmatcher-1.1.0.tar.gz) = 1849742 bytes
SHA1 (patch-aa) = 1
fdeea52150e0879db0cf245b704db70fcc341d0
SHA1 (patch-aa) = 1
76a86f04c48dceb68adb2a741cc63b85e73f568
This diff is collapsed.
Click to expand it.
libpointmatcher/patches/patch-aa
+
4
−
4
View file @
887ddbd7
diff --git pointmatcher/Timer.cpp pointmatcher/Timer.cpp
index cdd18da..b
a2a3a6
100644
index cdd18da..b
7fee49
100644
--- pointmatcher/Timer.cpp
+++ pointmatcher/Timer.cpp
@@ -68,7 +68,11 @@
namespace PointMatcherSupport
return Time(now.tv_sec) * Time(1000000000) + Time(now.tv_nsec);
#else // __MACH__
struct timespec ts;
+ #ifdef __NetBSD__
+ clock_gettime(CLOCK_PROF, &ts);
+ #else
+ #ifdef CLOCK_PROCESS_CPUTIME_ID
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts);
+ #else // BSD and old Linux
+ clock_gettime(CLOCK_PROF, &ts);
+ #endif
return Time(ts.tv_sec) * Time(1000000000) + Time(ts.tv_nsec);
#endif // __MACH__
...
...
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