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
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
flow3r
flow3r firmware
Commits
46bd34c2
Commit
46bd34c2
authored
1 year ago
by
iggy
Browse files
Options
Downloads
Patches
Plain Diff
py: times for late boot process (loading st3m libs and flow3r app
parent
a2ba3624
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_payload/main.py
+9
-0
9 additions, 0 deletions
python_payload/main.py
with
9 additions
and
0 deletions
python_payload/main.py
+
9
−
0
View file @
46bd34c2
...
...
@@ -7,10 +7,19 @@ log.info(f"free memory: {gc.mem_free()}")
from
st3m
import
control
,
application
,
ui
,
menu
log
=
logging
.
Log
(
__name__
,
level
=
logging
.
INFO
)
ts_start
=
time
.
time
()
from
st3m
import
*
from
apps
import
flow3r
log
.
info
(
"
import apps done
"
)
log
.
info
(
f
"
free memory:
{
gc
.
mem_free
()
}
"
)
ts_end
=
time
.
time
()
log
.
info
(
f
"
boot took
{
ts_end
-
ts_start
}
seconds
"
)
# TODO persistent settings
from
st3m.system
import
hardware
,
audio
...
...
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