import matplotlib.pyplot as plt import numpy as np # ypoints = np.array([19636392729, 9856229208,9445728437,5148906386]) # xpoints = np.array([5,10,15,20]) # ypoints1 = np.array([10062197042, 9873241615,12034929886,5118684853]) # xpoints1 = np.array([5,10,15,20]) ypoints = np.array([947507000,771906538]) xpoints = ["Malloc Physically contigous with bounds","System memory allocator"] plt.bar(xpoints, ypoints,label='Malloc Physically contigous with bounds') ''' L1D_TLB The counter counts each Memory-read operation or Memory-write operation that causes a TLB access to at least the Level 1 data or unified TLB. Each access to a TLB entry is counted including multiple accesses caused by single instructions such as LDM or STM. ''' # plt.title("Level 1 data TLB access, read \n ARM Performance counter: L1D_TLB_RD \n This counter counts each access counted by \n L1D_TLB that is a Memory-read operation. \n Histogram medium") plt.xlabel("time in seconds") plt.ylabel("L1 DTLB reads") # plt.plot(xpoints1, ypoints1) # plt.legend() # plt.show() plt.savefig('l1d_tlb_walk_histogram_small.png')