pyphi.provenance.stamp_wall_time#
- pyphi.provenance.stamp_wall_time(result, elapsed)[source]#
Set
elapsedseconds onresult.provenanceif it has one.Returns
result. A no-op when the result carries no provenance, so it is safe to call on any value returned from a compute entry point. The provenance record is frozen, so a copy withwall_timeset replaces it.