Skip to content

Commit

Permalink
update calc_critical_path doc
Browse files Browse the repository at this point in the history
  • Loading branch information
w0lek committed Jun 10, 2024
1 parent 3b2eb6a commit 7f8d0c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion doc/src/api/vpr/server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ server::TaskResolver
.. doxygenfunction:: server::calc_critical_path
:project: vpr

.. doxygenenum:: e_timing_report_detail
:project: vpr

comm::Telegram
--------------

Expand Down Expand Up @@ -77,4 +80,4 @@ Compression utils
:project: vpr

.. doxygenfunction:: try_decompress
:project: vpr
:project: vpr
6 changes: 3 additions & 3 deletions vpr/src/server/pathhelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ using CritPathsResultPtr = std::shared_ptr<CritPathsResult>;
* @brief Calculates the critical path.
* This function calculates the critical path based on the provided parameters.
* @param type The type of the critical path.
* @param crit_path_num The max number of the critical path.
* @param details_level The level of detail for the timing report.
* @param type The type of the critical path. Must be either "setup" or "hold".
* @param crit_path_num The max number of critical paths to record.
* @param details_level The level of detail for the timing report. See @ref e_timing_report_detail.
* @param is_flat_routing Indicates whether flat routing should be used.
* @return A `CritPathsResultPtr` which is a pointer to the result of the critical path calculation (see @ref CritPathsResult).
*/
Expand Down

0 comments on commit 7f8d0c6

Please sign in to comment.