From patchwork Tue Feb 7 09:03:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wang X-Patchwork-Id: 93525 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp2140336obz; Tue, 7 Feb 2017 01:05:17 -0800 (PST) X-Received: by 10.55.210.135 with SMTP id f129mr12915514qkj.184.1486458317559; Tue, 07 Feb 2017 01:05:17 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h32si2487716qth.4.2017.02.07.01.05.17; Tue, 07 Feb 2017 01:05:17 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3C5F462DBD; Tue, 7 Feb 2017 09:05:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0EBD462DBF; Tue, 7 Feb 2017 09:04:36 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 9A2926090A; Tue, 7 Feb 2017 09:04:33 +0000 (UTC) Received: from mail-pg0-f53.google.com (mail-pg0-f53.google.com [74.125.83.53]) by lists.linaro.org (Postfix) with ESMTPS id 04F8C62EF4 for ; Tue, 7 Feb 2017 09:03:50 +0000 (UTC) Received: by mail-pg0-f53.google.com with SMTP id 194so37168745pgd.2 for ; Tue, 07 Feb 2017 01:03:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Z+qFojlBnt170IXQyNRAU2DDVN2p+JKGQKTzzLlxW0Y=; b=RH5vbW7+cNy3Zefs/cp5o0BRaebnB2EmDI3HDgTCCGDFiOUGOHOBnHOGHYGhm0rucj ZzuwRun9VMTS9WMyukMmvW2R1sx4SvnT9bD5xFOoYxSCFn4MlY5o1hZe5BcVgymZox8H kogLeQM/EXldJ+hRTf05NWSWU6rei5FWiwRDx65zEm91uqglo8CxaW0C07tDO2Ry+t7t qlN51WyGeAY/g6jxlwZsP+Lal5G8FE/ZfSEOc2NdKGFSo05Q38N/JIpGxakCB5aOfqk6 tsXkDy+EwKWWR3QS9Hot/PLQMYKVHZaPyAovMaCBqeAmWqBXyNIdDhwH/n3HGxTcfxsJ yX2g== X-Gm-Message-State: AIkVDXJww6eGFh67gMEv2NJjyUATZZYPlvrAgQRkjyKdEYvah65qgdMPScqi5ssB2iDY+ruIS8U= X-Received: by 10.84.140.133 with SMTP id 5mr24530171plt.178.1486458229170; Tue, 07 Feb 2017 01:03:49 -0800 (PST) Received: from ubuntu.heyii.co (ubuntu.heyii.co. [45.32.66.203]) by smtp.googlemail.com with ESMTPSA id d124sm9109028pga.30.2017.02.07.01.03.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 01:03:48 -0800 (PST) From: Kevin Wang To: lng-odp@lists.linaro.org Date: Tue, 7 Feb 2017 09:03:46 +0000 Message-Id: <1486458226-31980-1-git-send-email-kevin.wang@linaro.org> X-Mailer: git-send-email 1.9.1 Subject: [lng-odp] [API-NEXT PATCHv3 4/4] doc: userguide: add odp_timer_capability() section to user guide X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Kevin Wang --- doc/users-guide/users-guide-timer.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 1.9.1 diff --git a/doc/users-guide/users-guide-timer.adoc b/doc/users-guide/users-guide-timer.adoc index 9cd30de..ccca7d4 100644 --- a/doc/users-guide/users-guide-timer.adoc +++ b/doc/users-guide/users-guide-timer.adoc @@ -6,7 +6,8 @@ timing features found in various platforms that support ODP implementations. Timers are drawn from specialized pools called _timer pools_ that have their own abstract type (`odp_timer_pool_t`). Each timer pool is a logically independent time source with its own _resolution_ measured in nanoseconds (ns) -and a maximum number of timers that it can support. Applications can have many +and a maximum number of timers that it can support. The max _resolution_ is +able to be obtained from `odp_timer_capability()`. Applications can have many timers active at the same time and can set them to use either relative or absolute time. Associated with each timer is a queue that is to receive events when this timer expires. This queue is created by a separate