[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v15 02/12] util/cutils: Add qemu_strtotime_ns()
From: |
Eduardo Habkost |
Subject: |
Re: [PATCH v15 02/12] util/cutils: Add qemu_strtotime_ns() |
Date: |
Thu, 7 Nov 2019 14:55:04 -0300 |
On Thu, Nov 07, 2019 at 03:45:01PM +0800, Tao Xu wrote:
> To convert strings with time suffixes to numbers, support time unit are
> "ns" for nanosecond, "us" for microsecond, "ms" for millisecond or "s"
> for second. Add test for qemu_strtotime_ns, test the input of basic,
> time suffixes, float, invaild, trailing and overflow.
>
> Signed-off-by: Tao Xu <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
--
Eduardo
- [PATCH v15 00/12] Build ACPI Heterogeneous Memory Attribute Table (HMAT), Tao Xu, 2019/11/07
- [PATCH v15 01/12] util/cutils: refactor do_strtosz() to support suffixes list, Tao Xu, 2019/11/07
- [PATCH v15 02/12] util/cutils: Add qemu_strtotime_ns(), Tao Xu, 2019/11/07
- Re: [PATCH v15 02/12] util/cutils: Add qemu_strtotime_ns(),
Eduardo Habkost <=
- [PATCH v15 03/12] qapi: Add builtin type time, Tao Xu, 2019/11/07
- [PATCH v15 04/12] tests: Add test for QAPI builtin type time, Tao Xu, 2019/11/07
- [PATCH v15 05/12] numa: Extend CLI to provide initiator information for numa nodes, Tao Xu, 2019/11/07
- [PATCH v15 07/12] numa: Calculate hmat latency and bandwidth entry list, Tao Xu, 2019/11/07
- [PATCH v15 06/12] numa: Extend CLI to provide memory latency and bandwidth information, Tao Xu, 2019/11/07
- [PATCH v15 08/12] numa: Extend CLI to provide memory side cache information, Tao Xu, 2019/11/07
- [PATCH v15 10/12] hmat acpi: Build System Locality Latency and Bandwidth Information Structure(s), Tao Xu, 2019/11/07