Message ID | 20230621183206.260-1-luoyonggang@gmail.com |
---|---|
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AEFF9385828D for <patchwork@sourceware.org>; Wed, 21 Jun 2023 18:32:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AEFF9385828D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1687372367; bh=bivGuU+a2sM3hHtt3cNKQjqidFziU1OwXqcoOt2yux0=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=nZbD52l3BFo7hDagXu14Glz0uGrKUUIs7c/PEjzSbs3uAyjFShqxFtscqA4RS7Qz3 QHen1wl4sGBEMi6Jibr5dP6JwupOaXzYKX4xyCqiGAY3b/ATflOtbn3yIKSGfN28lC hM/Mp//eSlO8LxdPf8K3u2thClI9JDZ3AepJIffk= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id 8B98D3858D35 for <libc-alpha@sourceware.org>; Wed, 21 Jun 2023 18:32:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8B98D3858D35 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1b50d7b4aaaso28496015ad.3 for <libc-alpha@sourceware.org>; Wed, 21 Jun 2023 11:32:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687372341; x=1689964341; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bivGuU+a2sM3hHtt3cNKQjqidFziU1OwXqcoOt2yux0=; b=QXqSs/vM4L0XbKiIg36RYlKdsj8lTh8eXjUqvPNgJmd+vAhXzYapsNOFo2qO3TYF8E oxEjEPlD2BWbNWRGCzedbhf2VyIe1vhmaMKjmjcyc94urUaxyVZrIo9BTBldQmfOs3qG gecIw3xDSwVvaIcLcKYEvQrpJUeh7/BVBz156mjbn+vXGdmrB/CyGGqQAz1LxmHUJWu0 9RK1EtwqhQWLyLv4jHCtAmkFCuJq2c+L5irNS+lFVwRse1WB4RwT0DUhKlVWWxeimESW WsA5oYH/VUdwfN/SOvMfmLZQd9No8jfNZJTlcN0YFQyQzAFE6J9KMNMN8ZLKkfu5cnC3 0NIg== X-Gm-Message-State: AC+VfDx3KtIsx7THweok7xvnVvLBPKtqGxx+2EYhRaGpj0VyLaL4f1Sy frv1fmuY7+g+Icqc/IuCWro= X-Google-Smtp-Source: ACHHUZ4FVmkNIbhCcUTa58Y+Akzb8Vde8Ibzxr+bIX6ILIZqxIX/yL4ENsTVwTVELxPZosOo794Q+g== X-Received: by 2002:a17:902:8e89:b0:1b5:ccd:af69 with SMTP id bg9-20020a1709028e8900b001b50ccdaf69mr8853149plb.69.1687372341270; Wed, 21 Jun 2023 11:32:21 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id x3-20020a1709027c0300b001ac2c3e54adsm3817323pll.118.2023.06.21.11.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 11:32:20 -0700 (PDT) To: Joseph Myers <joseph@codesourcery.com>, libc-alpha@sourceware.org Cc: Yonggang Luo <luoyonggang@gmail.com> Subject: [PATCH 0/2] Implement newly add timebase defines for c2x timespec_get and timespec_getres Date: Thu, 22 Jun 2023 02:32:04 +0800 Message-Id: <20230621183206.260-1-luoyonggang@gmail.com> X-Mailer: git-send-email 2.39.0.windows.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Yonggang Luo via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Yonggang Luo <luoyonggang@gmail.com> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Implement newly add timebase defines for c2x timespec_get and timespec_getres
|
|
Message
Yonggang Luo
June 21, 2023, 6:32 p.m. UTC
The c2x and extra defines comes from https://gustedt.gitlabpages.inria.fr/c23-library/#time_monotonic-time_active-time_thread_active Yonggang Luo (2): time: Implement newly add timebase defines for c2x timespec_get and timespec_getres time: Implement extra timebase defines for timespec_get and timespec_getres NEWS | 15 +++++ include/time.h | 60 +++++++++++++++++++ sysdeps/unix/sysv/linux/timespec_get.c | 7 ++- sysdeps/unix/sysv/linux/timespec_getres.c | 5 +- time/time.h | 17 +++++- time/timespec_get.c | 7 ++- time/timespec_getres.c | 7 ++- time/tst-timespec_get.c | 58 +++++++++++++++++-- time/tst-timespec_getres.c | 70 ++++++++++++++++++----- 9 files changed, 217 insertions(+), 29 deletions(-)