Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A8F1D419 for ; Wed, 27 Jun 2012 01:45:34 +0000 (UTC) Received: (qmail 17532 invoked by uid 500); 27 Jun 2012 01:45:34 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 17451 invoked by uid 500); 27 Jun 2012 01:45:34 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 17439 invoked by uid 99); 27 Jun 2012 01:45:34 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jun 2012 01:45:34 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 5AA9B1C0B32; Wed, 27 Jun 2012 01:45:33 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2445953068117726928==" MIME-Version: 1.0 Subject: Review Request: Add interfaces to get time/clock information. From: "Jie Yu" To: "Benjamin Hindman" Cc: "Jie Yu" , "mesos" Date: Wed, 27 Jun 2012 01:45:33 -0000 Message-ID: <20120627014533.10292.69066@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Jie Yu" X-ReviewGroup: mesos X-ReviewRequest-URL: https://reviews.apache.org/r/5602/ X-Sender: "Jie Yu" Reply-To: "Jie Yu" --===============2445953068117726928== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/5602/ ----------------------------------------------------------- Review request for mesos and Benjamin Hindman. Description ------- Introduce two functions in common/utils utils::time::time() utils::time::clock() Both of them return a double (in seconds). These two interfaces mimics the = Python time.time() and time.clock() functions. Diffs ----- src/common/utils.hpp 93192e7 = Diff: https://reviews.apache.org/r/5602/diff/ Testing ------- Manual. Tested on Mac and Linux. Thanks, Jie Yu --===============2445953068117726928==--