Check the changing of GPU memory in time

question

#1

Does any one knows how to check the changing of gpu memory in time


#2

Did you happen to have found a solution for this?