Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Issue 6826072: code review 6826072: runtime: use vDSO for gettimeofday on linux/amd64 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by ality
Modified:
12 years, 9 months ago
Reviewers:
dave
CC:
rsc, golang-dev
Visibility:
Public.

Description

runtime: use vDSO for gettimeofday on linux/amd64 Intel Core 2 Duo (2.16 GHz) running 3.6.5-1-ARCH benchmark old ns/op new ns/op delta BenchmarkNow 1856 1034 -44.29%

Patch Set 1 #

Patch Set 2 : diff -r 61f28ec84870 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 61f28ec84870 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 2490a8878617 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/runtime/sys_linux_amd64.s View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
ality
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 9 months ago (2012-11-08 01:50:34 UTC) #1
rsc
LGTM
12 years, 9 months ago (2012-11-08 02:19:17 UTC) #2
ality
*** Submitted as http://code.google.com/p/go/source/detail?r=e3d1b93bfa09 *** runtime: use vDSO for gettimeofday on linux/amd64 Intel Core 2 ...
12 years, 9 months ago (2012-11-08 02:29:39 UTC) #3
dave_cheney.net
Nice. Is there a similar facility for linux/386 ? On Thu, Nov 8, 2012 at ...
12 years, 9 months ago (2012-11-08 02:38:33 UTC) #4
ality
Dave Cheney <dave@cheney.net> once said: > Nice. Is there a similar facility for linux/386 ? ...
12 years, 9 months ago (2012-11-08 03:08:04 UTC) #5
dave_cheney.net
12 years, 9 months ago (2012-11-08 03:09:10 UTC) #6
Fair enough, good to know.

On Thu, Nov 8, 2012 at 2:08 PM, Anthony Martin <ality@pbrane.org> wrote:
> Dave Cheney <dave@cheney.net> once said:
>> Nice. Is there a similar facility for linux/386 ?
>
> Nope. The vDSO on linux/386 only supports vsyscalls
> and the runtime already uses them if available.
>
>   Anthony
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b