Skip to content

Commit 2736a9e

Browse files
Matt-Hurdcopybara-github
authored andcommitted
Standardize XProf capitalization
PiperOrigin-RevId: 746209774
1 parent 452f3b6 commit 2736a9e

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@python_deps//:requirements.bzl", "requirement")
33
load("@repository_configuration//:repository_config.bzl", "PROFILER_REQUIREMENTS_FILE")
44

55
# Description
6-
# Xprof, ML Performance Toolbox (for TPU, GPU, CPU).
6+
# XProf, ML Performance Toolbox (for TPU, GPU, CPU).
77

88
licenses(["notice"])
99

frontend/app/common/interfaces/data_table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ declare interface GeneralProperty {
2929

3030
/** The base interface for data table without perperty. */
3131
// We still needs this wrapper over gviz typing because our `p` is optional,
32-
// which is the contract between Xprof FE and BE (API implementation also has p
32+
// which is the contract between XProf FE and BE (API implementation also has p
3333
// as optional)
3434
// We partially extends the gviz interface to enable that
3535
export interface SimpleDataTable extends

frontend/app/components/main_page/main_page.ng.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
(click)="isSideNavOpen = !isSideNavOpen">
88
<mat-icon>menu</mat-icon>
99
</button>
10-
<span>Xprof</span>
10+
<span>XProf</span>
1111
<span class="toolbar-spacer"></span>
1212
</mat-toolbar>
1313

frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
55
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
66
<meta charset="utf-8">
7-
<title>Xprof</title>
7+
<title>XProf</title>
88
<base href="/" />
99

1010
<meta name="viewport" content="width=device-width, initial-scale=1">

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "xprof",
33
"version": "0.0.0-unused",
4-
"description": "Xprof TensorFlow Plugin",
4+
"description": "XProf Plugin",
55
"private": true,
66
"directories": {
77
"doc": "docs"

plugin/tensorboard_plugin_profile/build_utils/google/build_config.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Platform-specific build configurations.
22
"""
3-
Build macros Xprof uses only in google3.
3+
Build macros XProf uses only in google3.
44
"""
55

66
load("//dart:dart_proto_library.bzl", "dart_proto_library")

plugin/tensorboard_plugin_profile/protobuf/dcn_slack_analysis.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ message OpInstance {
99

1010
message DcnSlack {
1111
string rendezvous = 1;
12-
// Xprof observed send start time.
12+
// XProf observed send start time.
1313
uint64 send_start_time_us = 2;
14-
// Xprof observed recv_done end time.
14+
// XProf observed recv_done end time.
1515
uint64 recv_done_end_time_us = 3;
1616

1717
// Slack is defined as the time the collective has to send and recv data

plugin/tensorboard_plugin_profile/static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<title>Xprof</title>
5+
<title>XProf</title>
66
<script>
77
const base = document.createElement("base");
88
const defaultPath = '/data/plugin/profile';

xprof/utils/hlo_cost_analysis_wrapper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class HloCostAnalysisWrapper {
4747
// The input is the cost associated with the HLO instruction and the output is
4848
// the adjusted cost.
4949
using CostAdjustmentFn = absl::AnyInvocable<int64_t(int64_t)>;
50-
// Type for mapping from Xprof memory space to XLA memory space. Used when
50+
// Type for mapping from XProf memory space to XLA memory space. Used when
5151
// constructing the memory accessed breakdown of an HLO instruction.
5252
using MemorySpaceMap =
5353
absl::flat_hash_map<PerformanceInfo::MemoryAccessed::MemorySpace,
@@ -78,7 +78,7 @@ class HloCostAnalysisWrapper {
7878
return ValidHloCost;
7979
};
8080

81-
// Returns a mapping from Xprof memory space to XLA memory space.
81+
// Returns a mapping from XProf memory space to XLA memory space.
8282
virtual MemorySpaceMap GetMemorySpaceMapping() const = 0;
8383

8484
// Returns the flops adjustment for the given HLO instruction. (e.g. when

0 commit comments

Comments
 (0)