all commits for a clean git history
This commit is contained in:
31
pyplot/MatrixMultiply/Size200/TLB-L1-DATA-ACCESS.py
Normal file
31
pyplot/MatrixMultiply/Size200/TLB-L1-DATA-ACCESS.py
Normal file
@@ -0,0 +1,31 @@
|
||||
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([399876441,380500198])
|
||||
|
||||
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 Matrix multiply size 200")
|
||||
|
||||
plt.xlabel("time in seconds")
|
||||
plt.ylabel("L1 DTLB reads")
|
||||
# plt.plot(xpoints1, ypoints1)
|
||||
# plt.legend()
|
||||
# plt.show()
|
||||
|
||||
plt.savefig('l1_tlb_200_MatrixMultiply.png')
|
||||
Reference in New Issue
Block a user