:orphan: # TaoAddLineSearchCounts Adds the number of function evaluations spent in the line search to the running total. ## Synopsis ``` #include "petsctao.h" PetscErrorCode TaoAddLineSearchCounts(Tao tao) ``` ## Input Parameters - ***tao -*** the `Tao` solver ## See Also [](ch_tao), `Tao`, `TaoGetLineSearch()`, `TaoLineSearchApply()` ## Level developer ## Location src/tao/interface/taosolver.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/interface/taosolver.c) [Index of all Tao routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)