Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dos
flow3r firmware
Commits
9ea8107d
Commit
9ea8107d
authored
1 year ago
by
dx
Browse files
Options
Downloads
Patches
Plain Diff
mypystubs: add kernel
parent
60da641a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_payload/mypystubs/kernel.pyi
+38
-0
38 additions, 0 deletions
python_payload/mypystubs/kernel.pyi
with
38 additions
and
0 deletions
python_payload/mypystubs/kernel.pyi
0 → 100644
+
38
−
0
View file @
9ea8107d
class
task
:
"""
Not exposed in the API, used by scheduler_snapshot
"""
#: Name of the task
name
:
str
#: One of RUNNING, READY, BLOCKED, SUSPENDED, DELETED, INVALID
state
:
int
#: man i don't even know
number
:
int
#: you get the idea
stack_left
:
int
run_time
:
int
core_affinity
:
int
class
scheduler_snapshot
:
total_runtime
:
int
tasks
:
list
[
task
]
class
heap_kind_stats
:
"""
Not exposed in the API, used by heap_stats
"""
total_free_bytes
:
int
total_allocated_bytes
:
int
largest_free_block
:
int
class
heap_stats
:
general
:
heap_kind_stats
dma
:
heap_kind_stats
RUNNING
:
int
READY
:
int
BLOCKED
:
int
SUSPENDED
:
int
DELETED
:
int
INVALID
:
int
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment