From patchwork Fri Jan 20 05:22:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wang X-Patchwork-Id: 92029 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp619651qgi; Thu, 19 Jan 2017 21:23:40 -0800 (PST) X-Received: by 10.200.52.27 with SMTP id u27mr11131834qtb.26.1484889820342; Thu, 19 Jan 2017 21:23:40 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 83si4165250qkv.183.2017.01.19.21.23.40; Thu, 19 Jan 2017 21:23:40 -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 EE07562D36; Fri, 20 Jan 2017 05:23:39 +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 1637F62D16; Fri, 20 Jan 2017 05:23:00 +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 6E6A362D00; Fri, 20 Jan 2017 05:22:55 +0000 (UTC) Received: from mail-pg0-f50.google.com (mail-pg0-f50.google.com [74.125.83.50]) by lists.linaro.org (Postfix) with ESMTPS id 6180962D1E for ; Fri, 20 Jan 2017 05:22:39 +0000 (UTC) Received: by mail-pg0-f50.google.com with SMTP id t6so20420096pgt.3 for ; Thu, 19 Jan 2017 21:22:39 -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=G6nIxmWLJbR/BQveOqdq8RlnvWyHcsZQcFj/ttKHnWUTf1v8Cq7SDs8eHClaFgGOlM 6MQ2VvohHHQ/5DsdIdPN8jf66biY8I0ODdCHIKjnF96eW5Z3OjqOm7E/AFqwBaKKRTAE Pvt85KgEAT+UZj8kkYITcp25sHEn2HP1DftbpE251pXHwXDej6bJIGItXX+3tUisxDnZ ojAvnCyLIgKCqePe3KzZ1Fg6AnxMucHK6DZxzEID5J4QxyoCkFUXg821qwb8y6T5XHgr rfrkAaHSqqSOQHHr5T3HhVL8/sMGOBBZLWp7qKxtSg/iJAgRn0oIzWiohuTrDtmKDPNM cIaA== X-Gm-Message-State: AIkVDXIplZUSFZ+3782FxTTmYmSIK6CULcKpv/J3Wg+Tv9NH4pSaYFfNPYkY0eqLR2TiYtJLqKU= X-Received: by 10.99.107.130 with SMTP id g124mr14909228pgc.108.1484889758676; Thu, 19 Jan 2017 21:22:38 -0800 (PST) Received: from ubuntu.heyii.co (ubuntu.heyii.co. [45.32.66.203]) by smtp.googlemail.com with ESMTPSA id p2sm12831047pgd.17.2017.01.19.21.22.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Jan 2017 21:22:38 -0800 (PST) From: Kevin Wang To: lng-odp@lists.linaro.org Date: Fri, 20 Jan 2017 05:22:34 +0000 Message-Id: <1484889754-15183-1-git-send-email-kevin.wang@linaro.org> X-Mailer: git-send-email 1.9.1 Subject: [lng-odp] [API-NEXT PATCH 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