My Graduation Project
This is codes for my Graduate Project
flash.py
and html.py
is used for obtaining the CPU percentage.
flash3.py
and html2.py
is used for obtaining the CPU percentage when activated GPU acceleration.
Folder /flash
and /html
containing testing results of several videoes
Python library: psutil, datetime
flash.py <pid_MainPage> <pid_FlashPlayer> <timelength>
html.py <pid_page> <timelength>
flash3.py <pid_MainPage> <pid_FlashPlayer> <pid_GPUprocess> <timelength>
html2.py <pid_page> <pid_GPUprocess> <timelength>
Where pid-concerned arguments can be found in Chrome or Chromium-based Browsers at "More Tools - Task Management"
20170424
I found that flash.py and html.py doesn`t work well, because a used Anaconda Python Realease and it brings psutil 5.0.1. Then I reinstalled psutil latest version 5.2.2 and it works.