Skip to content

Commit 920be62

Browse files
tpatkislabasan
andauthored
Update docs for v0.1 (#109)
* Add Aliza as contributor, remove CPU/Mem usage from upcoming features * Add more Upcoming features * Remove AOP terms from Basic Tutorial page as discussed, and add reference to slide deck (waiting for IM). * Formatted * require python 3.8 * Add Dan and Jae-Seung to Contributors * Add slide deck with IM, update link in BasicTutorial * minor updates, add Hari as contributor --------- Co-authored-by: Stephanie Brink <[email protected]>
1 parent 9c8f663 commit 920be62

File tree

6 files changed

+19
-30
lines changed

6 files changed

+19
-30
lines changed

docs/BasicTutorial.rst

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,13 @@
99
Basic Tutorial
1010
################
1111

12-
PerfFlowAspect is based on Aspect-Oriented Programming (AOP). Some common terms
13-
used in AOP are described below.
14-
15-
- **Join Points**: A point in a program's execution in which the behavior can
16-
be modified by AOP. The candidate points are method invocations.
17-
18-
- **Pointcuts**: An expression used to match join points (creating a set of
19-
join points), allows you to specify to AOP where and when in the code to make
20-
modifications.
21-
22-
- **Advice**: Defines the additional behavior or action that will be inserted
23-
into the code, specifically at each join point matched by the pointcut.
24-
25-
- **Aspect**: The collection of the pointcut expression and the advice.
26-
27-
- **Weaver**: Applies aspects into the code, modifying code at join points with
28-
matching pointcuts and associated advices. The combining of aspects and code
29-
enables execution of cross-cutting concerns.
30-
31-
PerfFlowAspect relies on annotated functions in the user's source code and can
32-
invoke specific performance-analysis actions, a piece of tracing code, etc. on
33-
those points of execution. In AOP, these trigger points are called join points
34-
in the source code, and the functionality invoked is called advice.
12+
PerfFlowAspect is based on Aspect-Oriented Programming (AOP). PerfFlowAspect
13+
relies on annotated functions in the user's source code and can invoke specific
14+
performance-analysis actions, a piece of tracing code, etc. on those points of
15+
execution. In AOP, these trigger points are called join points in the source
16+
code, and the functionality invoked is called `advice`. To learn more about AOP
17+
and associated terminology, please refer to our presentation slides `here
18+
<ppts/PerfFlowAspectTutorialSlides.pdf>`_.
3519

3620
The python package ``perfflowaspect`` contains the PerfFlowAspect tool for the
3721
Python language. The file ``src/python/perfflowaspect/aspect.py`` contains a key
@@ -123,7 +107,7 @@ variable. Separate multiple variables with a colon as follows:
123107
**********************************************
124108

125109
There are two types of logging allowed in PerfFlowAspect trace files which are
126-
``verbose`` and ``compact``. Either can be anabled by setting
110+
``verbose`` and ``compact``. Either can be enabled by setting
127111
``PERFFLOW_OPTIONS="log-event="`` to ``compact`` or ``verbose``, respectively.
128112
The logging is ``verbose`` by default. ``Verbose`` logging uses B (begin) and E
129113
(end) events in the trace file as shown below:

docs/BuildingPerfFlowAspect.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Python Install
1414
****************
1515

16-
The minimum Python version needed is 3.6. You can get PerfFlowAspect from its
16+
The minimum Python version needed is 3.8. You can get PerfFlowAspect from its
1717
GitHub repository using this command:
1818

1919
.. code:: bash

docs/UpcomingFeatures.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
Upcoming Features
1010
###################
1111

12-
Upcoming features include the ability to enable and disable PerfFlowAspect with
13-
an environment variable, and also allow for collection of other statistics, such
14-
as CPU usage, memory usage, and GPU utilization. Please follow our GitHub issues
15-
page for learning about upcoming features, as well as for suggesting new
16-
features for PerfFlowAspect.
12+
Upcoming features include the ability to specify categories while tracing, a
13+
connector for Hatchet, and allow for collection of other statistics, such as GPU
14+
utilization. Additionally, the team plans to provide examples of how various
15+
benchmarks and workflows have been annotated with PerfFlowAspect. Please follow
16+
our GitHub issues page for learning about upcoming features, as well as for
17+
suggesting new features for PerfFlowAspect.

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,12 @@ uniformity as to how performance is measured and controlled.
6060
- Stephanie Brink
6161
- James Corbett
6262
- Stephen Herbein (NVIDIA)
63+
- Aliza Lisan (University of Oregon)
64+
- Daniel Milroy
6365
- Francesco Di Natale (NVIDIA)
6466
- Tapasya Patki
67+
- Jae-Seung Yeom
68+
- Hariharan Devarajan
6569

6670
******************************
6771
PerfFlowAspect Documentation
2.6 MB
Binary file not shown.
2.57 MB
Binary file not shown.

0 commit comments

Comments
 (0)