Message ID | 20180905134939.2942-2-tvrtko.ursulin@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3123815E9 for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 5 Sep 2018 13:49:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 208462A1DA for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 5 Sep 2018 13:49:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14A4A2A1E6; Wed, 5 Sep 2018 13:49:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D3B382A1DA for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 5 Sep 2018 13:49:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 076A16E497; Wed, 5 Sep 2018 13:49:49 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2F6AF6E46D for <Intel-gfx@lists.freedesktop.org>; Wed, 5 Sep 2018 13:49:47 +0000 (UTC) Received: by mail-wm0-x236.google.com with SMTP id 207-v6so7764996wme.5 for <Intel-gfx@lists.freedesktop.org>; Wed, 05 Sep 2018 06:49:47 -0700 (PDT) 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=kTXgxpeTt3HSanIZ68aHCompG5sUdKizZIKsPs8u3xA=; b=WK+9UcS4n2Oc3Qjk6SDOGl/0wj3NHNc7vxh95FvHlVMlEpUU2GZYMuGvp7Pw/Qou/p BI1hJDejMxtztH31gLigCP6/mlXHN+lBWBqvsQVlUTaWELzLjoTsXpM4vuZ78jyATTE7 P27ivfmQQ+2tDj7Z1i2kkqBPapn92I2r1H1MqNSufNE7az1fmcKonsM9CpI9F89oqjbN /fLOH+Lek4yx7VshqhjgQeXtc5fJfG/JxN0/rrIlcCeZrkktGiNmSgzmcwOWW9wLmhjC Ssyk2/FSs0PEdsbxIMoGDGEYn5s6wgK8U/PWkSndVrE91BEnF+YX7kqRHqwRuTjbsXib NUug== X-Gm-Message-State: APzg51CSd4GyGY9io27YlVW1aExJz9FAmaGVabPZSY/38qiGUEdoePpR CJAHVlsLK2Hy7jUsRsFgyRLdZHnnVr0= X-Google-Smtp-Source: ANB0Vdak8Cdmi53BfBU3Rr5fEEoU9lpOpxKnf4Qf/yq75LKHJY4MyJyAqu/DTCmM7T6wCLQAzX/9/w== X-Received: by 2002:a1c:e286:: with SMTP id z128-v6mr323892wmg.30.1536155385838; Wed, 05 Sep 2018 06:49:45 -0700 (PDT) Received: from localhost.localdomain ([95.144.165.37]) by smtp.gmail.com with ESMTPSA id j66-v6sm2701639wrj.28.2018.09.05.06.49.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 06:49:45 -0700 (PDT) From: Tvrtko Ursulin <tursulin@ursulin.net> X-Google-Original-From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> To: igt-dev@lists.freedesktop.org Date: Wed, 5 Sep 2018 14:49:27 +0100 Message-Id: <20180905134939.2942-2-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180905134939.2942-1-tvrtko.ursulin@linux.intel.com> References: <20180905134939.2942-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATH i-g-t 01/13] trace.pl: Fix frequency timeline X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Cc: Intel-gfx@lists.freedesktop.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Tracing & workload simulation misc patches
|
expand
|
diff --git a/scripts/trace.pl b/scripts/trace.pl index 1924333e12b6..2976cfdf585a 100755 --- a/scripts/trace.pl +++ b/scripts/trace.pl @@ -1201,6 +1201,8 @@ foreach my $key (sort sortQueue keys %db) { last if $i > $max_items; } +push @freqs, [$prev_freq_ts, $last_ts, $prev_freq] if $prev_freq; + foreach my $item (@freqs) { my ($start, $end, $freq) = @$item; my $startend;