Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Computer Engineering
B-ASIC - Better ASIC Toolbox
Merge requests
!213
Mixfixes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Mixfixes
mixfixes
into
master
Overview
0
Commits
3
Pipelines
3
Changes
5
Merged
Oscar Gustafsson
requested to merge
mixfixes
into
master
2 years ago
Overview
0
Commits
3
Pipelines
3
Changes
5
Expand
0
0
Merge request reports
Viewing commit
e623759a
Prev
Next
Show latest version
5 files
+
40
−
18
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
e623759a
Add more tests for Process
· e623759a
Oscar Gustafsson
authored
2 years ago
b_asic/process.py
+
3
−
2
Options
@@ -58,7 +58,7 @@ class Process:
return
self
.
_name
def
__repr__
(
self
)
->
str
:
return
f
"
Process(
{
self
.
start_time
}
,
{
self
.
execution_time
}
,
{
self
.
name
}
)
"
return
f
"
Process(
{
self
.
start_time
}
,
{
self
.
execution_time
}
,
{
self
.
name
!r
}
)
"
# Static counter for default names
_name_cnt
=
0
@@ -166,7 +166,8 @@ class PlainMemoryVariable(Process):
Identifier for the source of the memory variable.
reads : {int: int, ...}
Dictionary where the key is the destination identifier and the value
is the time after *write_time* that the memory variable is read.
is the time after *write_time* that the memory variable is read, i.e., the
lifetime of the variable.
name : str, optional
The name of the process.
"""
Loading