FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
OSPlugin/RAM_Graph.py at main · StreamController/OSPlugin · GitHub
StreamController
/
OSPlugin
Public
Notifications
You must be signed in to change notification settings
Fork
14
Star
8
Code
Issues
10
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
OSPlugin
/
RAM_Graph.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (15 loc) · 603 Bytes
Breadcrumbs
OSPlugin
/
RAM_Graph.py
Copy path
File metadata and controls
20 lines (15 loc) · 603 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from
plugins
.
com_core447_OSPlugin
.
GraphBase
import
GraphBase
from
src
.
backend
.
DeckManagement
.
DeckController
import
DeckController
from
src
.
backend
.
PageManagement
.
Page
import
Page
from
src
.
backend
.
PluginManager
.
PluginBase
import
PluginBase
import
psutil
from
PIL
import
Image
class
RAM_Graph
(
GraphBase
):
ACTION_NAME
=
"RAM Graph"
CONTROLS_KEY_IMAGE
=
True
def
__init__
(
self
,
*
args
,
**
kwargs
):
super
().
__init__
(
*
args
,
**
kwargs
)
self
.
has_configuration
=
False
def
on_tick
(
self
):
self
.
percentages
.
append
(
psutil
.
virtual_memory
().
percent
)
self
.
show_graph
()
Back
|
FazBrowse Home
|
New Git URL