NetLogo 7.0.0-beta2:

nw:mean-weighted-path-length

nw:mean-weighted-path-length weight-variable

Like nw:mean-path-length, but takes into account link weights.

Example:

Will ouput:

Take me to the full Networks Extension Dictionary