1 # RUN: llvm-profdata merge --temporal-profile-trace-reservoir-size=2 %s -o %t.profdata
2 # RUN: llvm-profdata show --temporal-profile-traces %t.profdata | FileCheck %s --check-prefixes=SAMPLE1,SEEN1
3 # RUN: llvm-profdata merge --temporal-profile-trace-reservoir-size=2 %s %t.profdata -o %t.profdata
4 # RUN: llvm-profdata show --temporal-profile-traces %t.profdata | FileCheck %s --check-prefixes=SAMPLE2,SEEN2
5 # RUN: llvm-profdata merge --temporal-profile-trace-reservoir-size=2 %s %t.profdata -o %t.profdata
6 # RUN: llvm-profdata show --temporal-profile-traces %t.profdata | FileCheck %s --check-prefixes=SAMPLE2,SEEN3
7 # RUN: llvm-profdata merge --temporal-profile-trace-reservoir-size=2 %s %t.profdata -o %t.profdata
8 # RUN: llvm-profdata show --temporal-profile-traces %t.profdata | FileCheck %s --check-prefixes=SAMPLE2,SEEN4
10 # SEEN1: Temporal Profile Traces (samples=1 seen=1):
11 # SEEN2: Temporal Profile Traces (samples=2 seen=2):
12 # SEEN3: Temporal Profile Traces (samples=2 seen=3):
13 # SEEN4: Temporal Profile Traces (samples=2 seen=4):
14 # SAMPLE1: Temporal Profile Trace 0 (weight=1 count=3):
18 # SAMPLE2: Temporal Profile Trace 1 (weight=1 count=3):