From patchwork Wed Feb 8 02:37:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wang X-Patchwork-Id: 93601 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2485410qgi; Tue, 7 Feb 2017 18:39:55 -0800 (PST) X-Received: by 10.107.192.70 with SMTP id q67mr7715865iof.110.1486521595507; Tue, 07 Feb 2017 18:39:55 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x67si433826itg.20.2017.02.07.18.39.55; Tue, 07 Feb 2017 18:39:55 -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 06A5F62FB6; Wed, 8 Feb 2017 02:39:55 +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 93B0F62FEC; Wed, 8 Feb 2017 02:38:23 +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 219C562FB6; Wed, 8 Feb 2017 02:38:12 +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 6D57062FDB for ; Wed, 8 Feb 2017 02:37:19 +0000 (UTC) Received: by mail-pg0-f50.google.com with SMTP id 194so44119104pgd.2 for ; Tue, 07 Feb 2017 18:37:19 -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:in-reply-to :references; bh=Z+qFojlBnt170IXQyNRAU2DDVN2p+JKGQKTzzLlxW0Y=; b=uGxAsSwBUjNzoTXtT5Jpe6t+iqmMfGRZSrHfq5Ihry9TBNln63w4za8RALrcRBI4vE KX0VzJgyzwIRQOpl6eceLG5fFQEMbmmAaNsr2QBpjFZnjvkjY/cIcX3Rdo5UUwvyvncf ZgWEWRVoDSyzfwbyt6wvtC+zdca6xSAGgPGpCgDg9l+BL2YCgygOqRKqZEv8bflDyH/p G4xHJxjTuwxvnItxYZPZxpmW0VrKUcJge6kjfOKKskJvKmv/13ifXzEo7swm0/BX7pUJ YZoihxR1jSCjLaQxX/vuwR9XBThMTkgIeljtMO/JSNUqcsL/KG/rIZ6Bva4PuEhLWCDy 9cDA== X-Gm-Message-State: AIkVDXIM68mtE3k249XlfgpRFD2GRUSXydX3MNwFI/f1PmQzNKtEln+DpiJyAAvKYsmyNfwMUNU= X-Received: by 10.98.37.132 with SMTP id l126mr23744591pfl.45.1486521438623; Tue, 07 Feb 2017 18:37:18 -0800 (PST) Received: from ubuntu.heyii.co (ubuntu.heyii.co. [45.32.66.203]) by smtp.googlemail.com with ESMTPSA id i82sm14714084pfk.52.2017.02.07.18.37.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Feb 2017 18:37:18 -0800 (PST) From: Kevin Wang To: lng-odp@lists.linaro.org Date: Wed, 8 Feb 2017 02:37:04 +0000 Message-Id: <1486521424-11172-5-git-send-email-kevin.wang@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486521424-11172-1-git-send-email-kevin.wang@linaro.org> References: <1486521424-11172-1-git-send-email-kevin.wang@linaro.org> Subject: [lng-odp] [API-NEXT PATCHv4 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