print_total_tokens Subroutine

private impure elemental subroutine print_total_tokens(this)

Type Bound

usage

Arguments

Type IntentOptional Attributes Name
class(usage), intent(inout) :: this

Called by

proc~~print_total_tokens~~CalledByGraph proc~print_total_tokens foropenai_ChatCompletion::usage%print_total_tokens proc~conversation foropenai_ChatCompletion::ChatCompletion%conversation proc~conversation->proc~print_total_tokens proc~print_usage foropenai_ChatCompletion::usage%print_usage proc~print_usage->proc~print_total_tokens

Source Code

   elemental impure subroutine print_total_tokens(this)
      class(usage), intent(inout) :: this
      print "('total tokens: ',g0)", this%total_tokens
   end subroutine print_total_tokens